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-- | 146 bytes |
pci.c | -rw-r--r-- | 20.5 KB |
pci_clp.c | -rw-r--r-- | 7.8 KB |
pci_debug.c | -rw-r--r-- | 3.8 KB |
pci_dma.c | -rw-r--r-- | 12.0 KB |
pci_event.c | -rw-r--r-- | 3.1 KB |
pci_insn.c | -rw-r--r-- | 4.3 KB |
pci_sysfs.c | -rw-r--r-- | 2.3 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...