From: 宋秀杰 Date: Tue, 14 Aug 2012 14:51:49 +0000 (+0800) Subject: phonepad: change record route, must update asound.conf. X-Git-Tag: firefly_0821_release~8922^2~6 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=d06d84962dd8a16f561140b18d584441e2441b63;p=firefly-linux-kernel-4.4.55.git phonepad: change record route, must update asound.conf. --- 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");