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 |
---|---|---|
Makefile | -rw-r--r-- | 307 bytes |
cache.c | -rw-r--r-- | 3.3 KB |
fault.c | -rw-r--r-- | 5.2 KB |
hwtest.c | -rw-r--r-- | 2.4 KB |
init.c | -rw-r--r-- | 4.6 KB |
kmap.c | -rw-r--r-- | 7.8 KB |
mcfmmu.c | -rw-r--r-- | 5.0 KB |
memory.c | -rw-r--r-- | 7.6 KB |
motorola.c | -rw-r--r-- | 7.3 KB |
sun3kmap.c | -rw-r--r-- | 3.4 KB |
sun3mmu.c | -rw-r--r-- | 2.6 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...