dmaengine/dma_slave: introduce inline wrappers
[linux-2.6-block.git] / sound / soc / mxs / mxs-pcm.c
index 105f42a394df6460e80899f22c567f3ac6192c7f..661b678d08a8c3b2c71938255df2dab433ea327e 100644 (file)
@@ -132,7 +132,7 @@ static int snd_mxs_pcm_hw_params(struct snd_pcm_substream *substream,
 
        iprtd->buf = substream->dma_buffer.area;
 
-       iprtd->desc = chan->device->device_prep_dma_cyclic(chan, dma_addr,
+       iprtd->desc = dmaengine_prep_dma_cyclic(chan, dma_addr,
                        iprtd->period_bytes * iprtd->periods,
                        iprtd->period_bytes,
                        substream->stream == SNDRV_PCM_STREAM_PLAYBACK ?