summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sound/soc/fsl/imx-xcvr.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/sound/soc/fsl/imx-xcvr.c b/sound/soc/fsl/imx-xcvr.c
index d7731bcadd85..ff9bcb279777 100644
--- a/sound/soc/fsl/imx-xcvr.c
+++ b/sound/soc/fsl/imx-xcvr.c
@@ -15,7 +15,6 @@ static int imx_xcvr_audio_probe(struct platform_device *pdev)
{
struct device_node *xcvr_np, *np = pdev->dev.of_node;
struct snd_soc_dai_link_component *dlc;
- struct snd_soc_dai *cpu_dai, *codec_dai;
struct imx_xcvr_data *data;
int ret = 0;
@@ -57,13 +56,6 @@ static int imx_xcvr_audio_probe(struct platform_device *pdev)
data->card.num_links = 1;
data->card.owner = THIS_MODULE;
- cpu_dai = snd_soc_find_dai(data->dai.cpus);
- codec_dai = snd_soc_find_dai(data->dai.codecs);
- if (cpu_dai && codec_dai) {
- codec_dai->driver->playback = cpu_dai->driver->playback;
- codec_dai->driver->capture = cpu_dai->driver->capture;
- }
-
ret = snd_soc_of_parse_card_name(&data->card, "model");
if (ret)
goto end;