fix the Audio indicators(S/R), and the speak Playback distortion
authorcch <cch@rockchip.com>
Mon, 7 Mar 2011 06:42:33 +0000 (14:42 +0800)
committercch <cch@rockchip.com>
Mon, 7 Mar 2011 06:42:33 +0000 (14:42 +0800)
sound/soc/codecs/wm8900.c [changed mode: 0644->0755]

old mode 100644 (file)
new mode 100755 (executable)
index e44cc8a..8974bf2
@@ -655,10 +655,10 @@ static void wm8900_set_hw(struct snd_soc_codec *codec)
 
        snd_soc_write(codec, WM8900_REG_LOUTMIXCTL1, 0x150);
        snd_soc_write(codec, WM8900_REG_ROUTMIXCTL1, 0x150);
-       snd_soc_write(codec, WM8900_REG_LOUT2CTL, 0x139);
-       snd_soc_write(codec, WM8900_REG_ROUT2CTL, 0x139);
-       snd_soc_write(codec, WM8900_REG_LOUT1CTL, 0x139);
-       snd_soc_write(codec, WM8900_REG_ROUT1CTL, 0x139);
+       snd_soc_write(codec, WM8900_REG_LOUT2CTL, 0x133);
+       snd_soc_write(codec, WM8900_REG_ROUT2CTL, 0x133);
+       snd_soc_write(codec, WM8900_REG_LOUT1CTL, 0x130);
+       snd_soc_write(codec, WM8900_REG_ROUT1CTL, 0x130);
 
        snd_soc_write(codec, WM8900_REG_POWER1, 0x211D);
        snd_soc_write(codec, WM8900_REG_POWER2, 0xC1AF);
@@ -1382,9 +1382,9 @@ static __devinit int wm8900_i2c_probe(struct i2c_client *i2c,
         /* 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_read(codec, WM8900_REG_LDAC_DV)&0xFF00) | 0xC0);
        snd_soc_write(codec, WM8900_REG_RDAC_DV,
-                     (snd_soc_read(codec, WM8900_REG_RDAC_DV)&0xFF00) | 0xB0);
+                     (snd_soc_read(codec, WM8900_REG_RDAC_DV)&0xFF00) | 0xC0);
                              
         #endif
        /* Set the DAC and mixer output bias */