1045b90494fa7153d938bcf93a4265dda6df0e5b
[openwrt/staging/ansuel.git] /
1 From d8715f02b84c1a210b6fd84badc41eced6272424 Mon Sep 17 00:00:00 2001
2 From: Yangbo Lu <yangbo.lu@nxp.com>
3 Date: Mon, 30 Mar 2020 16:30:26 +0800
4 Subject: [PATCH] Revert "ASoC: fsl: add imx-pcm-dma v2 platform driver (part
5 2)"
6
7 This reverts commit 5d816f1a5cac458a7fff9ecf896c85eb351a7352.
8 ---
9 sound/soc/fsl/fsl_sai.c | 4 +---
10 1 file changed, 1 insertion(+), 3 deletions(-)
11
12 --- a/sound/soc/fsl/fsl_sai.c
13 +++ b/sound/soc/fsl/fsl_sai.c
14 @@ -1519,8 +1519,6 @@ static int fsl_sai_probe(struct platform
15 MCLK_DIR(index));
16 }
17
18 - sai->dma_params_rx.filter_data = "rx";
19 - sai->dma_params_tx.filter_data = "tx";
20 sai->dma_params_rx.addr = res->start + FSL_SAI_RDR0;
21 sai->dma_params_tx.addr = res->start + FSL_SAI_TDR0;
22 sai->dma_params_rx.maxburst = FSL_SAI_MAXBURST_RX;
23 @@ -1540,7 +1538,7 @@ static int fsl_sai_probe(struct platform
24 goto err_pm_disable;
25
26 if (sai->soc->imx)
27 - ret = imx_pcm_platform_register(&pdev->dev);
28 + ret = imx_pcm_dma_init(pdev, IMX_SAI_DMABUF_SIZE);
29 if (ret)
30 goto err_pm_disable;
31 } else {