diff options
Diffstat (limited to 'sound/soc/fsl/fsl_asrc.c')
-rw-r--r-- | sound/soc/fsl/fsl_asrc.c | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/sound/soc/fsl/fsl_asrc.c b/sound/soc/fsl/fsl_asrc.c index 13097a5566b2..dc230ffee9dd 100644 --- a/sound/soc/fsl/fsl_asrc.c +++ b/sound/soc/fsl/fsl_asrc.c @@ -133,14 +133,8 @@ static int asrc_p2p_request_channel(struct snd_pcm_substream *substream) dev_err(rtd->card->dev, "can not config dma channel\n"); goto error; } - asrc_p2p->asrc_p2p_desc = chan->device->device_prep_dma_cyclic( - chan, - 0xffff, - 64, - 64, - DMA_DEV_TO_DEV, - 0, - NULL); + asrc_p2p->asrc_p2p_desc = dmaengine_prep_dma_cyclic(chan, 0xffff, 64, + 64, DMA_DEV_TO_DEV, 0); if (!asrc_p2p->asrc_p2p_desc) { dev_err(&chan->dev->device, "cannot prepare slave dma\n"); |