summaryrefslogtreecommitdiff
path: root/sound/soc/fsl/fsl_esai.c
diff options
context:
space:
mode:
authorShengjiu Wang <shengjiu.wang@nxp.com>2018-01-23 13:25:40 +0800
committerLeonard Crestez <leonard.crestez@nxp.com>2018-08-24 12:41:33 +0300
commit8f5b7a54f193af2735cc970530c377d732cdad9b (patch)
treed136b5fe040df16c8691e049841c1a941f2d377c /sound/soc/fsl/fsl_esai.c
parentd6b078836ec03f7b4aa1c5aacb306fa1860ee0b7 (diff)
MLK-17442: ASoC: fsl: fix wrong usage of filter_data
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>
Diffstat (limited to 'sound/soc/fsl/fsl_esai.c')
-rw-r--r--sound/soc/fsl/fsl_esai.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/soc/fsl/fsl_esai.c b/sound/soc/fsl/fsl_esai.c
index 22cc9454b32c..0742aff1ab31 100644
--- a/sound/soc/fsl/fsl_esai.c
+++ b/sound/soc/fsl/fsl_esai.c
@@ -1060,8 +1060,8 @@ static int fsl_esai_probe(struct platform_device *pdev)
else
esai_priv->fifo_depth = 64;
- esai_priv->dma_params_rx.filter_data = "rx";
- esai_priv->dma_params_tx.filter_data = "tx";
+ esai_priv->dma_params_rx.chan_name = "rx";
+ esai_priv->dma_params_tx.chan_name = "tx";
esai_priv->dma_params_tx.maxburst = 16;
esai_priv->dma_params_rx.maxburst = 16;
esai_priv->dma_params_tx.addr = res->start + REG_ESAI_ETDR;