diff options
author | Barry Song <21cnbao@gmail.com> | 2010-01-25 16:42:25 +0800 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2010-01-25 14:52:22 +0000 |
commit | 84549d239ab9bb2e3a85c6efcf0e6478a38b4260 (patch) | |
tree | a4ee60ceecb1a7a473b4c8f654cbfaf69be643bc /sound/soc/codecs/ad1836.h | |
parent | 895d4509d069f0706427ca75fcf0929ed136d0d7 (diff) | |
download | op-kernel-dev-84549d239ab9bb2e3a85c6efcf0e6478a38b4260.zip op-kernel-dev-84549d239ab9bb2e3a85c6efcf0e6478a38b4260.tar.gz |
ASoC: ad1836: reset and restore clock control mode in suspend/resume entry
tests show frequent suspend/resume(frequent poweroff/on ad1836 internal
components) maybe make ad1836 clock mode wrong sometimes after wakeup.
This patch reset/restore ad1836 clock mode while executing PM, then
ad1836 can always resume to right clock status.
Signed-off-by: Barry Song <21cnbao@gmail.com>
Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc/codecs/ad1836.h')
-rw-r--r-- | sound/soc/codecs/ad1836.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/codecs/ad1836.h b/sound/soc/codecs/ad1836.h index 7660ee6..e9d90d3 100644 --- a/sound/soc/codecs/ad1836.h +++ b/sound/soc/codecs/ad1836.h @@ -54,6 +54,7 @@ #define AD1836_ADC_SERFMT_MASK (7 << 6) #define AD1836_ADC_SERFMT_PCK256 (0x4 << 6) #define AD1836_ADC_SERFMT_PCK128 (0x5 << 6) +#define AD1836_ADC_AUX (0x6 << 6) #define AD1836_ADC_CTRL3 14 |