summaryrefslogtreecommitdiffstats
path: root/lib/asn1_encoder.c
diff options
context:
space:
mode:
authorCharles Keepax <ckeepax@opensource.cirrus.com>2021-09-13 17:00:44 +0100
committerMark Brown <broonie@kernel.org>2021-09-27 13:00:30 +0100
commit04ae08596737c4d3872dfb6e617c918d9ecf073e (patch)
treea865fd31403eb1d731c858e391e60c3de5795181 /lib/asn1_encoder.c
parent6477960755fb2c0ca9b0497bc86abfa4ee173556 (diff)
downloadlinux-04ae08596737c4d3872dfb6e617c918d9ecf073e.tar.bz2
ASoC: wm_adsp: Switch to using wm_coeff_read_ctrl for compressed buffers
When parsing a compressed buffer from the firmware the driver currently open codes reading the firmware coefficient containing the buffer description. Improve this slightly by using the coefficient read functions already provided by the wm_adsp driver. It is worth noting this change requires the running variable to be set before wm_adsp_buffer_init is called, however this is safe, since its all still under the power lock and nothing in the compressed code gates itself on running. Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com> Signed-off-by: Simon Trimmer <simont@opensource.cirrus.com> Link: https://lore.kernel.org/r/20210913160057.103842-4-simont@opensource.cirrus.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'lib/asn1_encoder.c')
0 files changed, 0 insertions, 0 deletions