From 63de0c0232d2e6b9c0486baf06e8837e29b5cb62 Mon Sep 17 00:00:00 2001 From: Dong Aisheng Date: Tue, 7 May 2019 11:01:08 +0800 Subject: ASoC: fsl: sai: fix build failture due to 5.1 RC7 upgrade Signed-off-by: Dong Aisheng --- sound/soc/fsl/fsl_sai.c | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'sound/soc/fsl/fsl_sai.c') diff --git a/sound/soc/fsl/fsl_sai.c b/sound/soc/fsl/fsl_sai.c index e82be743a034..e057227c749b 100644 --- a/sound/soc/fsl/fsl_sai.c +++ b/sound/soc/fsl/fsl_sai.c @@ -418,14 +418,12 @@ static int fsl_sai_set_dai_fmt_tr(struct snd_soc_dai *cpu_dai, case SND_SOC_DAIFMT_CBS_CFS: val_cr2 |= FSL_SAI_CR2_BCD_MSTR; val_cr4 |= FSL_SAI_CR4_FSD_MSTR; - sai->is_slave_mode = false; break; case SND_SOC_DAIFMT_CBM_CFM: sai->slave_mode[tx] = true; break; case SND_SOC_DAIFMT_CBS_CFM: val_cr2 |= FSL_SAI_CR2_BCD_MSTR; - sai->is_slave_mode = false; break; case SND_SOC_DAIFMT_CBM_CFS: val_cr4 |= FSL_SAI_CR4_FSD_MSTR; @@ -1562,14 +1560,6 @@ static int fsl_sai_remove(struct platform_device *pdev) return 0; } -static const struct of_device_id fsl_sai_ids[] = { - { .compatible = "fsl,vf610-sai", }, - { .compatible = "fsl,imx6sx-sai", }, - { .compatible = "fsl,imx6ul-sai", }, - { /* sentinel */ } -}; -MODULE_DEVICE_TABLE(of, fsl_sai_ids); - #ifdef CONFIG_PM static int fsl_sai_runtime_suspend(struct device *dev) { -- cgit v1.2.3