summaryrefslogtreecommitdiff
path: root/sound/soc/fsl/imx-pcm-dma-v2.c
diff options
context:
space:
mode:
authorShengjiu Wang <shengjiu.wang@freescale.com>2017-06-19 11:28:07 +0800
committerDong Aisheng <aisheng.dong@nxp.com>2019-11-25 15:51:25 +0800
commitd3a4db61b001f416a06eca5fe37776c71251dbbf (patch)
treeac03e09d0886e9cb8b01eb4d006893141b51eb82 /sound/soc/fsl/imx-pcm-dma-v2.c
parentd928e16f9d396f9323b4fa331162bc8754154fb4 (diff)
MLK-15066-2: ASoC: imx-pcm-dma-v2: fix typo issue
fix typo issue Signed-off-by: Shengjiu Wang <shengjiu.wang@freescale.com>
Diffstat (limited to 'sound/soc/fsl/imx-pcm-dma-v2.c')
-rw-r--r--sound/soc/fsl/imx-pcm-dma-v2.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sound/soc/fsl/imx-pcm-dma-v2.c b/sound/soc/fsl/imx-pcm-dma-v2.c
index 7d345dd92e3d..5ac9fc7365fe 100644
--- a/sound/soc/fsl/imx-pcm-dma-v2.c
+++ b/sound/soc/fsl/imx-pcm-dma-v2.c
@@ -53,7 +53,7 @@ static int imx_pcm_hw_params(struct snd_pcm_substream *substream,
{
struct snd_pcm_runtime *runtime = substream->runtime;
struct snd_soc_pcm_runtime *rtd = substream->private_data;
- struct imx_pcm_dma_data *dma_data;
+ struct snd_dmaengine_dai_dma_data *dma_data;
struct dma_slave_config config;
struct dma_chan *chan;
int err = 0;
@@ -79,8 +79,8 @@ static int imx_pcm_hw_params(struct snd_pcm_substream *substream,
return err;
snd_dmaengine_pcm_set_config_from_dai_data(substream,
- snd_soc_dai_get_dma_data(rtd->cpu_dai, substream),
- &config);
+ dma_data,
+ &config);
return dmaengine_slave_config(chan, &config);
}