summaryrefslogtreecommitdiff
path: root/sound/soc/fsl/imx-cs42888.c
diff options
context:
space:
mode:
Diffstat (limited to 'sound/soc/fsl/imx-cs42888.c')
-rw-r--r--sound/soc/fsl/imx-cs42888.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/sound/soc/fsl/imx-cs42888.c b/sound/soc/fsl/imx-cs42888.c
index 2887fa06c15a..2b01fa5f132a 100644
--- a/sound/soc/fsl/imx-cs42888.c
+++ b/sound/soc/fsl/imx-cs42888.c
@@ -331,8 +331,6 @@ static int imx_cs42888_probe(struct platform_device *pdev)
struct platform_device *esai_pdev;
struct platform_device *asrc_pdev = NULL;
struct imx_priv *priv = &card_priv;
- struct snd_soc_dai_link_component dlc = { 0 };
- struct snd_soc_dai *codec_dai;
int ret;
u32 width;
@@ -401,12 +399,6 @@ static int imx_cs42888_probe(struct platform_device *pdev)
if (priv->is_codec_rpmsg) {
imx_cs42888_dai[0].codecs->name = "rpmsg-audio-codec-cs42888";
imx_cs42888_dai[0].codecs->dai_name = "cs42888";
-
- dlc.name = "rpmsg-audio-codec-cs42888";
- dlc.dai_name = "cs42888";
- codec_dai = snd_soc_find_dai(&dlc);
- if (!codec_dai)
- return -ENODEV;
} else {
imx_cs42888_dai[0].codecs->of_node = codec_np;
}