]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: wm_adsp: Correct wm_coeff_tlv_get handling
authorCharles Keepax <ckeepax@opensource.cirrus.com>
Sat, 26 Jun 2021 15:59:39 +0000 (16:59 +0100)
committerMark Brown <broonie@kernel.org>
Mon, 28 Jun 2021 16:47:39 +0000 (17:47 +0100)
commit5c1a66c1d63121ced8368c0dec336b829135af40
treede57a5844e4358dbac9d6b8684e297ad721c7820
parentbc3af7b3c3fc4fc2b96c9d2c6509ec6975331819
ASoC: wm_adsp: Correct wm_coeff_tlv_get handling

When wm_coeff_tlv_get was updated it was accidentally switch to the _raw
version of the helper causing it to ignore the current DSP state it
should be checking. Switch the code back to the correct helper so that
users can't read the controls when they arn't available.

Fixes: f8ac8c0a5922 ("ASoC: wm_adsp: Correct cache handling of new kernel control API")
Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Link: https://lore.kernel.org/r/20210626155941.12251-1-ckeepax@opensource.cirrus.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/wm_adsp.c