]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blobdiff - sound/soc/imx/mxc-ssi.c
ASoC: Remove absent SYNC and TDM DAI format options from i.MX SSI
[mirror_ubuntu-bionic-kernel.git] / sound / soc / imx / mxc-ssi.c
index 3806ff2c0cd429ac675658774268a75c33806b8a..ccdefe60e752f32bece04a58c33ecbf1d3f9f247 100644 (file)
@@ -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;