|
@@ -143,7 +143,7 @@ static int dmaengine_pcm_prepare_and_submit(struct snd_pcm_substream *substream)
|
|
direction = snd_pcm_substream_to_dma_direction(substream);
|
|
direction = snd_pcm_substream_to_dma_direction(substream);
|
|
|
|
|
|
prtd->pos = 0;
|
|
prtd->pos = 0;
|
|
- desc = chan->device->device_prep_dma_cyclic(chan,
|
|
|
|
|
|
+ desc = dmaengine_prep_dma_cyclic(chan,
|
|
substream->runtime->dma_addr,
|
|
substream->runtime->dma_addr,
|
|
snd_pcm_lib_buffer_bytes(substream),
|
|
snd_pcm_lib_buffer_bytes(substream),
|
|
snd_pcm_lib_period_bytes(substream), direction);
|
|
snd_pcm_lib_period_bytes(substream), direction);
|