diff options
Diffstat (limited to 'drivers/dma/mxs-dma.c')
-rw-r--r-- | drivers/dma/mxs-dma.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/dma/mxs-dma.c b/drivers/dma/mxs-dma.c index 35193b31a9e0..22cc7f68ef6e 100644 --- a/drivers/dma/mxs-dma.c +++ b/drivers/dma/mxs-dma.c | |||
@@ -416,9 +416,9 @@ static int mxs_dma_alloc_chan_resources(struct dma_chan *chan) | |||
416 | struct mxs_dma_engine *mxs_dma = mxs_chan->mxs_dma; | 416 | struct mxs_dma_engine *mxs_dma = mxs_chan->mxs_dma; |
417 | int ret; | 417 | int ret; |
418 | 418 | ||
419 | mxs_chan->ccw = dma_zalloc_coherent(mxs_dma->dma_device.dev, | 419 | mxs_chan->ccw = dma_alloc_coherent(mxs_dma->dma_device.dev, |
420 | CCW_BLOCK_SIZE, | 420 | CCW_BLOCK_SIZE, |
421 | &mxs_chan->ccw_phys, GFP_KERNEL); | 421 | &mxs_chan->ccw_phys, GFP_KERNEL); |
422 | if (!mxs_chan->ccw) { | 422 | if (!mxs_chan->ccw) { |
423 | ret = -ENOMEM; | 423 | ret = -ENOMEM; |
424 | goto err_alloc; | 424 | goto err_alloc; |