Revision 44330ab516c15dda8a1e660eeaf0003f84e43e3f authored by Charles Keepax on 13 May 2014, 12:45:15 UTC, committed by Mark Brown on 13 May 2014, 18:02:30 UTC
The register CLASS_D_CONTROL_1 is marked as volatile because it contains a bit, DAC_MUTE, which is also mirrored in the ADC_DAC_CONTROL_1 register. This causes problems for the "Speaker Switch" control, which will report an error if the CODEC is suspended because it relies on a volatile register. To resolve this issue mark CLASS_D_CONTROL_1 as non-volatile and manually keep the register cache in sync by updating both bits when changing the mute status. Reported-by: Shawn Guo <shawn.guo@linaro.org> Signed-off-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com> Tested-by: Shawn Guo <shawn.guo@linaro.org> Signed-off-by: Mark Brown <broonie@linaro.org> Cc: stable@vger.kernel.org
1 parent c9eaa44
File | Mode | Size |
---|---|---|
amiga | ||
apollo | ||
atari | ||
bvme6000 | ||
configs | ||
emu | ||
fpsp040 | ||
hp300 | ||
ifpsp060 | ||
include | ||
kernel | ||
lib | ||
mac | ||
math-emu | ||
mm | ||
mvme147 | ||
mvme16x | ||
platform | ||
q40 | ||
sun3 | ||
sun3x | ||
tools | ||
Kconfig | -rw-r--r-- | 3.0 KB |
Kconfig.bus | -rw-r--r-- | 2.1 KB |
Kconfig.cpu | -rw-r--r-- | 12.2 KB |
Kconfig.debug | -rw-r--r-- | 1.1 KB |
Kconfig.devices | -rw-r--r-- | 4.3 KB |
Kconfig.machine | -rw-r--r-- | 12.2 KB |
Makefile | -rw-r--r-- | 5.3 KB |
install.sh | -rw-r--r-- | 1.2 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...