From d06d84962dd8a16f561140b18d584441e2441b63 Mon Sep 17 00:00:00 2001 From: =?utf8?q?=E5=AE=8B=E7=A7=80=E6=9D=B0?= Date: Tue, 14 Aug 2012 22:51:49 +0800 Subject: [PATCH] phonepad: change record route, must update asound.conf. --- sound/soc/codecs/rt3261.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sound/soc/codecs/rt3261.c b/sound/soc/codecs/rt3261.c index e8f1405fb8d8..f7e18dd050a7 100644 --- a/sound/soc/codecs/rt3261.c +++ b/sound/soc/codecs/rt3261.c @@ -89,8 +89,6 @@ static struct rt3261_init_reg init_list[] = { {RT3261_HP_VOL , 0x8888}, {RT3261_OUTPUT , 0x8888},//unmute OUTVOLL/R {RT3261_SPO_CLSD_RATIO , 0x0001}, - {RT3261_I2S1_SDP , 0xe000}, - {RT3261_I2S2_SDP , 0x8040}, }; #define RT3261_INIT_REG_LEN ARRAY_SIZE(init_list) @@ -2370,6 +2368,8 @@ static int rt3261_hw_params(struct snd_pcm_substream *substream, int pre_div, bclk_ms, frame_size; rt3261->lrck[dai->id] = params_rate(params); + if(dai->id == 1) + rt3261->lrck[dai->id] = 8000; pre_div = get_clk_info(rt3261->sysclk, rt3261->lrck[dai->id]); if (pre_div < 0) { dev_err(codec->dev, "Unsupported clock setting\n"); -- 2.34.1