From 0803f9c776c8e6f2e21d8af8202b8dbb2b5bc702 Mon Sep 17 00:00:00 2001 From: Leonard Crestez Date: Thu, 3 Oct 2019 23:52:50 +0300 Subject: ASoC: imx-pcm-dma-v2: Fix writecombine/wc build error Signed-off-by: Leonard Crestez --- sound/soc/fsl/imx-pcm-dma-v2.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'sound/soc/fsl/imx-pcm-dma-v2.c') 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) -- cgit v1.2.3