From 514647d585aa17a11248c43a087fa5600fdb6892 Mon Sep 17 00:00:00 2001 From: Viorel Suman Date: Wed, 26 Feb 2020 10:45:24 +0200 Subject: MLK-23313-14: ASoC: fsl: imx_xcvr: remove dummy codec params adjustment hack The hack was added to allow XCVR to record data at high FS rate, remove it since it impacts other drivers such as MICFIL. Signed-off-by: Viorel Suman Reviewed-by: Shengjiu Wang --- sound/soc/fsl/imx-xcvr.c | 8 -------- 1 file changed, 8 deletions(-) (limited to 'sound/soc/fsl/imx-xcvr.c') 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; -- cgit v1.2.3