diff options
author | Charles Keepax <ckeepax@opensource.cirrus.com> | 2020-01-14 16:18:38 +0000 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2020-01-17 15:28:14 +0000 |
commit | 73ecf1a673d3502dff1445f06675aba65ff20ce7 (patch) | |
tree | 7b3292530ee1ab1fe4b28195e12d81258aea8797 /sound/soc/codecs/cs47l85.c | |
parent | 85578bbd642f65065039b1765ebe1a867d5435b0 (diff) |
ASoC: wm_adsp: Correct cache handling of new kernel control API
The recently added API that exposes firmware mixer controls to the
kernel is missing cache handling and all writes bypass the cache, this
obviously causes the cache to get out of sync with the hardware. Factor
out the cache handling into two new helper functions and call those from
both the normal ALSA control handlers and the new kernel API.
Fixes: eb65ccdb0836 ("ASoC: wm_adsp: Expose mixer control API")
Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Link: https://lore.kernel.org/r/20200114161841.451-1-ckeepax@opensource.cirrus.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/codecs/cs47l85.c')
0 files changed, 0 insertions, 0 deletions