diff options
author | Shengjiu Wang <shengjiu.wang@nxp.com> | 2018-01-23 13:25:40 +0800 |
---|---|---|
committer | Dong Aisheng <aisheng.dong@nxp.com> | 2019-11-25 15:51:26 +0800 |
commit | da6c85af864281d306b189b56319e9753a7f7875 (patch) | |
tree | be4185c4e3e0b86d971ff5141df7ea4ba76106f6 /sound/soc/fsl/imx-pcm-dma-v2.c | |
parent | deaa49291f50a23bff3157ed2881196ab642fe0d (diff) |
MLK-17442: ASoC: fsl: fix wrong usage of filter_data (part 3)
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 DAI sai&esai changes ]
Signed-off-by: Dong Aisheng <aisheng.dong@nxp.com>
Diffstat (limited to 'sound/soc/fsl/imx-pcm-dma-v2.c')
-rw-r--r-- | sound/soc/fsl/imx-pcm-dma-v2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/fsl/imx-pcm-dma-v2.c b/sound/soc/fsl/imx-pcm-dma-v2.c index acad77241af8..24364e1c77c1 100644 --- a/sound/soc/fsl/imx-pcm-dma-v2.c +++ b/sound/soc/fsl/imx-pcm-dma-v2.c @@ -113,7 +113,7 @@ static int imx_pcm_open(struct snd_pcm_substream *substream) struct dma_chan *chan; chan = dma_request_slave_channel(rtd->cpu_dai->dev, - dma_data->filter_data); + dma_data->chan_name); ret = snd_dmaengine_pcm_open(substream, chan); if (ret) return ret; |