Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b266002a authored by Mark Brown's avatar Mark Brown
Browse files

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: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
parent 2a0f5cb3
Loading
Loading
Loading
Loading
+0 −8
Original line number Diff line number Diff line
@@ -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;