From d849dd8300837e7a7d9f49f71c2ab1a5ef88fdb6 Mon Sep 17 00:00:00 2001 From: Zheng Yang Date: Sat, 13 Oct 2012 11:10:58 +0800 Subject: [PATCH] =?utf8?q?rk2928:acodec:=20=E4=BF=AE=E5=A4=8D=E6=9C=89?= =?utf8?q?=E6=97=B6=E5=8F=AA=E6=9C=89=E4=B8=80=E4=B8=AA=E5=A3=B0=E9=81=93?= =?utf8?q?=E8=BE=93=E5=87=BA=E6=88=96=E8=BE=93=E5=87=BA=E5=A3=B0=E9=9F=B3?= =?utf8?q?=E5=8F=98=E5=B0=8F=E9=94=99=E8=AF=AF.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- sound/soc/codecs/rk2928_codec.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sound/soc/codecs/rk2928_codec.c b/sound/soc/codecs/rk2928_codec.c index 931e66e817e8..8db61f6e7362 100755 --- a/sound/soc/codecs/rk2928_codec.c +++ b/sound/soc/codecs/rk2928_codec.c @@ -155,6 +155,8 @@ static int rk2928_audio_trigger(struct snd_pcm_substream *substream, int cmd, // rk2928_write(codec, CODEC_REG_DAC_GAIN, v_GAIN_DAC(DAC_GAIN_3DB_P)); if(!rk2928_data.hdmi_enable) rk2928_write(codec, CODEC_REG_DAC_MUTE, v_MUTE_DAC(0)); + rk2928_write(codec, CODEC_REG_ADC_SOURCE, 0x03); + rk2928_write(codec, CODEC_REG_ADC_SOURCE, 0x00); rk2928_data.mute = 0; if(rk2928_data.spkctl != INVALID_GPIO) { gpio_direction_output(rk2928_data.spkctl, GPIO_HIGH); -- 2.34.1