diff --git a/sound/soc/soc-pcm.c b/sound/soc/soc-pcm.c index 22ed11a01307..4e8435a7bcd2 100644 --- a/sound/soc/soc-pcm.c +++ b/sound/soc/soc-pcm.c @@ -20,6 +20,7 @@ #include #include #include +#include #include #include #include @@ -1007,8 +1008,7 @@ static int soc_pcm_hw_params(struct snd_pcm_substream *substream, DMA_BIT_MASK(sizeof(dma_addr_t) * 8); substream->dma_buffer.private_data = NULL; - arch_setup_dma_ops(substream->dma_buffer.dev.dev, - 0, 0, NULL, 0); + of_dma_configure(substream->dma_buffer.dev.dev, NULL, true); ret = snd_pcm_lib_malloc_pages(substream, PAGE_SIZE); if (ret < 0) goto component_err;