diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2008-11-17 12:09:34 -0500 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2008-11-17 12:24:54 -0500 |
commit | be1b87c70af69acfadb8a27a7a76dfb61de92643 (patch) | |
tree | a5ff1f252073881b12554b97a6205dd276e39269 /sound/soc/codecs/wm8990.c | |
parent | ba533e95b929c577d69237692ee588001347be8a (diff) |
ASoC: Enable WM8990 ADC clocking workaround
Enable a hardware workaround which avoids problems with the clocking of
the ADCs in certain configurations.
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc/codecs/wm8990.c')
-rw-r--r-- | sound/soc/codecs/wm8990.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sound/soc/codecs/wm8990.c b/sound/soc/codecs/wm8990.c index 5c84f02c4579..938e15429207 100644 --- a/sound/soc/codecs/wm8990.c +++ b/sound/soc/codecs/wm8990.c | |||
@@ -1272,9 +1272,11 @@ static int wm8990_set_bias_level(struct snd_soc_codec *codec, | |||
1272 | 1272 | ||
1273 | /* disable POBCTRL, SOFT_ST and BUFDCOPEN */ | 1273 | /* disable POBCTRL, SOFT_ST and BUFDCOPEN */ |
1274 | wm8990_write(codec, WM8990_ANTIPOP2, WM8990_BUFIOEN); | 1274 | wm8990_write(codec, WM8990_ANTIPOP2, WM8990_BUFIOEN); |
1275 | } else { | ||
1276 | /* ON -> standby */ | ||
1277 | 1275 | ||
1276 | /* Enable workaround for ADC clocking issue. */ | ||
1277 | wm8990_write(codec, WM8990_EXT_ACCESS_ENA, 0x2); | ||
1278 | wm8990_write(codec, WM8990_EXT_CTL1, 0xa003); | ||
1279 | wm8990_write(codec, WM8990_EXT_ACCESS_ENA, 0); | ||
1278 | } | 1280 | } |
1279 | break; | 1281 | break; |
1280 | 1282 | ||