rk3368 codec : fix the es8316 codec capture gain
authorsmj <smj@rock-chips.com>
Wed, 4 Mar 2015 08:14:50 +0000 (16:14 +0800)
committersmj <smj@rock-chips.com>
Wed, 4 Mar 2015 08:17:51 +0000 (16:17 +0800)
Signed-off-by: smj <smj@rock-chips.com>
sound/soc/codecs/es8316.c

index 3ba5edf1514a9223c7716429d758b56df8e773fc..9873e9500c87b13043a2aaf90d676ec4e62c5a05 100644 (file)
@@ -949,7 +949,7 @@ static int es8316_init_regs(struct snd_soc_codec *codec)
        snd_soc_write(codec, ES8316_TESTMODE_REG50, 0xA0);
        snd_soc_write(codec, ES8316_TEST2_REG52, 0x03);
        /*alc set*/
-       snd_soc_write(codec, ES8316_ADC_PGAGAIN_REG23, 0xa0);
+       snd_soc_write(codec, ES8316_ADC_PGAGAIN_REG23, 0x60);
        snd_soc_write(codec, ES8316_ADC_D2SEPGA_REG24, 0x01);
        /*adc ds mode, HPF enable*/
        snd_soc_write(codec, ES8316_ADC_DMIC_REG25, 0x08);