ASoC: Intel: Enabling ASRC for RT5663 codec on kabylake platform
[muen/linux.git] / sound / soc / intel / boards / kbl_rt5663_rt5514_max98927.c
index 3fe4a080709598dba91fa8965b1a37fd98c36b68..cfde894d250feb6c9f84e0cd49610ce2a60efb4d 100644 (file)
@@ -319,7 +319,9 @@ static int kabylake_rt5663_hw_params(struct snd_pcm_substream *substream,
        int ret;
 
        /* use ASRC for internal clocks, as PLL rate isn't multiple of BCLK */
-       rt5663_sel_asrc_clk_src(codec_dai->codec, RT5663_DA_STEREO_FILTER, 1);
+       rt5663_sel_asrc_clk_src(codec_dai->codec,
+                       RT5663_DA_STEREO_FILTER | RT5663_AD_STEREO_FILTER,
+                       RT5663_CLK_SEL_I2S1_ASRC);
 
        ret = snd_soc_dai_set_sysclk(codec_dai,
                        RT5663_SCLK_S_MCLK, 24576000, SND_SOC_CLOCK_IN);