summaryrefslogtreecommitdiff
path: root/sound/soc/fsl/fsl_sai.c
diff options
context:
space:
mode:
authorShengjiu Wang <shengjiu.wang@nxp.com>2018-01-23 13:25:40 +0800
committerDong Aisheng <aisheng.dong@nxp.com>2019-11-25 15:53:49 +0800
commit82a7f067a1461350596569f61cfa313947228159 (patch)
tree6c8da1f26a66149bcb46ae76e953e3839416eca8 /sound/soc/fsl/fsl_sai.c
parentc49d1d073aaebb1155af8be29ef62051dc7a4356 (diff)
MLK-17442: ASoC: fsl: fix wrong usage of filter_data (part 1)
The filter_data should be used for dma_filter_fn function, but we used the filter_data wrongly for dma channel name. This patch is to fix the issue. Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com> Reviwed-by: Daniel Baluta <daniel.baluta@nxp.com> [ Aisheng: split out esai and pcm changes ] Signed-off-by: Dong Aisheng <aisheng.dong@nxp.com>
Diffstat (limited to 'sound/soc/fsl/fsl_sai.c')
-rw-r--r--sound/soc/fsl/fsl_sai.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/soc/fsl/fsl_sai.c b/sound/soc/fsl/fsl_sai.c
index 6092df181a1b..3e7cd709ac1e 100644
--- a/sound/soc/fsl/fsl_sai.c
+++ b/sound/soc/fsl/fsl_sai.c
@@ -1136,8 +1136,8 @@ static int fsl_sai_probe(struct platform_device *pdev)
MCLK_DIR(index));
}
- sai->dma_params_rx.filter_data = "rx";
- sai->dma_params_tx.filter_data = "tx";
+ sai->dma_params_rx.chan_name = "rx";
+ sai->dma_params_tx.chan_name = "tx";
sai->dma_params_rx.addr = res->start + FSL_SAI_RDR0;
sai->dma_params_tx.addr = res->start + FSL_SAI_TDR0;
sai->dma_params_rx.maxburst = FSL_SAI_MAXBURST_RX;