aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/meson/meson-codec-glue.c
diff options
context:
space:
mode:
Diffstat (limited to 'sound/soc/meson/meson-codec-glue.c')
-rw-r--r--sound/soc/meson/meson-codec-glue.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/sound/soc/meson/meson-codec-glue.c b/sound/soc/meson/meson-codec-glue.c
index d07270d17cee..2870cfad813a 100644
--- a/sound/soc/meson/meson-codec-glue.c
+++ b/sound/soc/meson/meson-codec-glue.c
@@ -113,9 +113,6 @@ int meson_codec_glue_output_startup(struct snd_pcm_substream *substream,
/* Replace link params with the input params */
rtd->dai_link->params = &in_data->params;
- if (!in_data->fmt)
- return 0;
-
return snd_soc_runtime_set_dai_fmt(rtd, in_data->fmt);
}
EXPORT_SYMBOL_GPL(meson_codec_glue_output_startup);