audio: fixed audio clk source sel error [1/1]
authorZhe Wang <Zhe.Wang@amlogic.com>
Thu, 16 May 2019 12:53:46 +0000 (20:53 +0800)
committerNick Xie <nick@khadas.com>
Mon, 5 Aug 2019 06:26:17 +0000 (14:26 +0800)
PD#SWPL-8663

Problem:
there is no audio clk on SM1

Solution:
fixed clk source setting error

Verify:
AC200

Change-Id: Ief01d680c435cfc2f50f9b7da0a6e4d68db846d5
Signed-off-by: Zhe Wang <Zhe.Wang@amlogic.com>
sound/soc/amlogic/auge/tdm.c

index e31c9f0..e4af0e5 100644 (file)
@@ -1333,7 +1333,6 @@ static int aml_set_default_tdm_clk(struct aml_tdm *tdm)
        /*set default i2s clk for codec sequence*/
        tdm->setting.bclk_lrclk_ratio = 64;
        tdm->setting.sysclk_bclk_ratio = 4;
-       tdm->clk_sel = 0;
        lrclk_hi = tdm->setting.bclk_lrclk_ratio - 1;
 
        aml_tdm_set_lrclkdiv(tdm->actrl, tdm->clk_sel,