summaryrefslogtreecommitdiff
path: root/sound/soc/fsl/imx-pcm-dma-v2.c
diff options
context:
space:
mode:
authorLeonard Crestez <leonard.crestez@nxp.com>2019-10-03 23:52:50 +0300
committerDong Aisheng <aisheng.dong@nxp.com>2019-11-25 15:51:28 +0800
commit0803f9c776c8e6f2e21d8af8202b8dbb2b5bc702 (patch)
treebbc51ee47c2cc49e8ce073579d4c13f796e3c0cc /sound/soc/fsl/imx-pcm-dma-v2.c
parentf3f4ebe088ea738d6576f8599a89b3ed5ffbb7f1 (diff)
ASoC: imx-pcm-dma-v2: Fix writecombine/wc build error
Signed-off-by: Leonard Crestez <leonard.crestez@nxp.com>
Diffstat (limited to 'sound/soc/fsl/imx-pcm-dma-v2.c')
-rw-r--r--sound/soc/fsl/imx-pcm-dma-v2.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sound/soc/fsl/imx-pcm-dma-v2.c b/sound/soc/fsl/imx-pcm-dma-v2.c
index 97b24a6e5078..54b08131199b 100644
--- a/sound/soc/fsl/imx-pcm-dma-v2.c
+++ b/sound/soc/fsl/imx-pcm-dma-v2.c
@@ -217,10 +217,10 @@ static int imx_pcm_mmap(struct snd_pcm_substream *substream,
{
struct snd_pcm_runtime *runtime = substream->runtime;
- return dma_mmap_writecombine(substream->pcm->card->dev, vma,
- runtime->dma_area,
- runtime->dma_addr,
- runtime->dma_bytes);
+ return dma_mmap_wc(substream->pcm->card->dev, vma,
+ runtime->dma_area,
+ runtime->dma_addr,
+ runtime->dma_bytes);
}
static int imx_pcm_close(struct snd_pcm_substream *substream)