summaryrefslogtreecommitdiffstats
path: root/kernel/sound/soc/fsl/imx-mc13783.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/sound/soc/fsl/imx-mc13783.c')
-rw-r--r--kernel/sound/soc/fsl/imx-mc13783.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/kernel/sound/soc/fsl/imx-mc13783.c b/kernel/sound/soc/fsl/imx-mc13783.c
index 9e6493d4e..bb0459018 100644
--- a/kernel/sound/soc/fsl/imx-mc13783.c
+++ b/kernel/sound/soc/fsl/imx-mc13783.c
@@ -45,11 +45,7 @@ static int imx_mc13783_hifi_hw_params(struct snd_pcm_substream *substream,
if (ret)
return ret;
- ret = snd_soc_dai_set_tdm_slot(cpu_dai, 0x3, 0x3, 2, 16);
- if (ret)
- return ret;
-
- return 0;
+ return snd_soc_dai_set_tdm_slot(cpu_dai, 0x3, 0x3, 2, 16);
}
static struct snd_soc_ops imx_mc13783_hifi_ops = {