From: fang Date: Fri, 31 Dec 2010 04:42:25 +0000 (+0800) Subject: update wm8900 codec setting X-Git-Tag: firefly_0821_release~10851 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=78c31ba9aaf2c86b44ba59cebe926e136d8b54d8;p=firefly-linux-kernel-4.4.55.git update wm8900 codec setting --- diff --git a/sound/soc/codecs/wm8900.c b/sound/soc/codecs/wm8900.c index 86357ef3eda9..2b9e9f41f4f6 100644 --- a/sound/soc/codecs/wm8900.c +++ b/sound/soc/codecs/wm8900.c @@ -684,15 +684,15 @@ static int wm8900_hw_params(struct snd_pcm_substream *substream, reg &= ~WM8900_REG_DACCTRL_DAC_SB_FILT; snd_soc_write(codec, WM8900_REG_DACCTRL, reg); - + } snd_soc_write(codec, WM8900_REG_POWER3, 0xEF); snd_soc_write(codec, WM8900_REG_LOUTMIXCTL1, 0x150); snd_soc_write(codec, WM8900_REG_ROUTMIXCTL1, 0x150); - snd_soc_write(codec, WM8900_REG_LOUT2CTL, 0x126); - snd_soc_write(codec, WM8900_REG_ROUT2CTL, 0x126); + snd_soc_write(codec, WM8900_REG_LOUT2CTL, 0x139); + snd_soc_write(codec, WM8900_REG_ROUT2CTL, 0x139); snd_soc_write(codec, WM8900_REG_HPCTL1, 0xC0); - } else { + //} else { snd_soc_write(codec, WM8900_REG_POWER1, 0x211D); snd_soc_write(codec, WM8900_REG_POWER2, 0xC03F); @@ -706,7 +706,7 @@ static int wm8900_hw_params(struct snd_pcm_substream *substream, snd_soc_write(codec, WM8900_REG_RINVOL, 0x0115); snd_soc_write(codec, WM8900_REG_INBOOSTMIX1, 0x0042); snd_soc_write(codec, WM8900_REG_INBOOSTMIX2, 0x0042); - snd_soc_write(codec, WM8900_REG_ADCPATH, 0x0077); + snd_soc_write(codec, WM8900_REG_ADCPATH, 0x0055); /* @@ -723,7 +723,7 @@ static int wm8900_hw_params(struct snd_pcm_substream *substream, snd_soc_write(codec, 0x36, 0x011F); snd_soc_write(codec, 0x3A, 0x00C0); */ - } + //} WM8900_DBG("<<<<<<<<<<<<<<<<<<<