aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sound/soc/intel/haswell.c10
1 files changed, 2 insertions, 8 deletions
diff --git a/sound/soc/intel/haswell.c b/sound/soc/intel/haswell.c
index 0d61197661d8..54345a2a7386 100644
--- a/sound/soc/intel/haswell.c
+++ b/sound/soc/intel/haswell.c
@@ -69,14 +69,6 @@ static int haswell_rt5640_hw_params(struct snd_pcm_substream *substream,
69 struct snd_soc_dai *codec_dai = rtd->codec_dai; 69 struct snd_soc_dai *codec_dai = rtd->codec_dai;
70 int ret; 70 int ret;
71 71
72 /* Set codec DAI configuration */
73 ret = snd_soc_dai_set_fmt(codec_dai, SND_SOC_DAIFMT_I2S |
74 SND_SOC_DAIFMT_NB_NF | SND_SOC_DAIFMT_CBS_CFS);
75 if (ret < 0) {
76 dev_err(rtd->dev, "can't set codec DAI configuration\n");
77 return ret;
78 }
79
80 ret = snd_soc_dai_set_sysclk(codec_dai, RT5640_SCLK_S_MCLK, 12288000, 72 ret = snd_soc_dai_set_sysclk(codec_dai, RT5640_SCLK_S_MCLK, 12288000,
81 SND_SOC_CLOCK_IN); 73 SND_SOC_CLOCK_IN);
82 74
@@ -188,6 +180,8 @@ static struct snd_soc_dai_link haswell_rt5640_dais[] = {
188 .no_pcm = 1, 180 .no_pcm = 1,
189 .codec_name = "i2c-INT33CA:00", 181 .codec_name = "i2c-INT33CA:00",
190 .codec_dai_name = "rt5640-aif1", 182 .codec_dai_name = "rt5640-aif1",
183 .dai_fmt = SND_SOC_DAIFMT_I2S | SND_SOC_DAIFMT_NB_NF |
184 SND_SOC_DAIFMT_CBS_CFS,
191 .ignore_suspend = 1, 185 .ignore_suspend = 1,
192 .ignore_pmdown_time = 1, 186 .ignore_pmdown_time = 1,
193 .be_hw_params_fixup = haswell_ssp0_fixup, 187 .be_hw_params_fixup = haswell_ssp0_fixup,