From bebf05d13a0ed3cba4f4f356dedc571065f9de8e Mon Sep 17 00:00:00 2001 From: fang Date: Wed, 26 Jan 2011 10:05:21 +0800 Subject: [PATCH] update wm8900 reg setting fixed only left sound bug --- sound/soc/codecs/wm8900.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/sound/soc/codecs/wm8900.c b/sound/soc/codecs/wm8900.c index 2b9e9f41f4f6..6f991b228974 100644 --- a/sound/soc/codecs/wm8900.c +++ b/sound/soc/codecs/wm8900.c @@ -1349,16 +1349,14 @@ static __devinit int wm8900_i2c_probe(struct i2c_client *i2c, snd_soc_write(codec, WM8900_REG_RADC_DV, snd_soc_read(codec, WM8900_REG_RADC_DV) | 0x100); - + snd_soc_write(codec, WM8900_REG_AUDIO2, + ((snd_soc_read(codec, WM8900_REG_AUDIO2) & 0x3FFF) | (1<<14))); // 1<<15 Left And Right sw /* For Fzf Test */ #if 1 snd_soc_write(codec, WM8900_REG_LDAC_DV, (snd_soc_read(codec, WM8900_REG_LDAC_DV)&0xFF00) | 0xB0); snd_soc_write(codec, WM8900_REG_RDAC_DV, (snd_soc_read(codec, WM8900_REG_RDAC_DV)&0xFF00) | 0xB0); - - snd_soc_write(codec, WM8900_REG_AUDIO2, - (snd_soc_read(codec, WM8900_REG_AUDIO2) | (0<<10))); #endif /* Set the DAC and mixer output bias */ -- 2.34.1