diff options
author | Charles Keepax <ckeepax@opensource.wolfsonmicro.com> | 2014-05-13 13:45:15 +0100 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2014-05-13 19:02:30 +0100 |
commit | 44330ab516c15dda8a1e660eeaf0003f84e43e3f (patch) | |
tree | 477b5afcb5d64e2babe2e7fc783c21d91a121fc5 /tools/perf/scripts/python | |
parent | c9eaa447e77efe77b7fa4c953bd62de8297fd6c5 (diff) |
ASoC: wm8962: Update register CLASS_D_CONTROL_1 to be non-volatile
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
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions