提交 b266002a 编写于 作者: M Mark Brown

ASoC: Remove absent SYNC and TDM DAI format options from i.MX SSI

These should be handled via set_tdm_slot() now and cause build
failures as-is.
Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
上级 2a0f5cb3
......@@ -397,14 +397,6 @@ static int imx_ssi_set_dai_fmt(struct snd_soc_dai *cpu_dai,
break;
}
/* sync */
if (!(fmt & SND_SOC_DAIFMT_ASYNC))
scr |= SSI_SCR_SYN;
/* tdm - only for stereo atm */
if (fmt & SND_SOC_DAIFMT_TDM)
scr |= SSI_SCR_NET;
if (cpu_dai->id == IMX_DAI_SSI0 || cpu_dai->id == IMX_DAI_SSI2) {
SSI1_STCR = stcr;
SSI1_SRCR = srcr;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册