]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: wm_adsp: Mimic legacy behaviour of reading controls when DSP is on
authorCharles Keepax <ckeepax@opensource.wolfsonmicro.com>
Thu, 17 Dec 2015 10:05:59 +0000 (10:05 +0000)
committerMark Brown <broonie@kernel.org>
Thu, 17 Dec 2015 12:13:08 +0000 (12:13 +0000)
commitc5a178a3f6fafb40c2db6548e35378b747b2d7fd
tree81f4c3b974c052896ec361d6ff75d317b8604a28
parent031dc8bc67a447beee631a136f5254906164530f
ASoC: wm_adsp: Mimic legacy behaviour of reading controls when DSP is on

Older firmwares don't specify access flags for the controls,
unfortunately the usage of some of these firmware relies on being able
to read back values from the DSP. The current control code will only do
this for volatile controls. This patch will read the control from the
hardware if no flags are specified and the control is currently
enabled, which should cover these legacy use-cases.

Signed-off-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/wm_adsp.c