summaryrefslogtreecommitdiff
path: root/sound/soc/fsl/imx-xcvr.c
diff options
context:
space:
mode:
authorViorel Suman <viorel.suman@nxp.com>2020-02-26 10:45:24 +0200
committerViorel Suman <viorel.suman@nxp.com>2020-02-26 10:55:43 +0200
commit514647d585aa17a11248c43a087fa5600fdb6892 (patch)
tree138af89768112c136e7dc64ab93c25d0f51c461c /sound/soc/fsl/imx-xcvr.c
parentfbd278ab7f1d866f0c27603f68cc547d6ae1d8f9 (diff)
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 <viorel.suman@nxp.com> Reviewed-by: Shengjiu Wang <shengjiu.wang@nxp.com>
Diffstat (limited to 'sound/soc/fsl/imx-xcvr.c')
-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;