aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/dma/mxs-dma.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/dma/mxs-dma.c')
-rw-r--r--drivers/dma/mxs-dma.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/dma/mxs-dma.c b/drivers/dma/mxs-dma.c
index a2267f9ab568..65334c49b71e 100644
--- a/drivers/dma/mxs-dma.c
+++ b/drivers/dma/mxs-dma.c
@@ -340,7 +340,7 @@ static void mxs_dma_free_chan_resources(struct dma_chan *chan)
340static struct dma_async_tx_descriptor *mxs_dma_prep_slave_sg( 340static struct dma_async_tx_descriptor *mxs_dma_prep_slave_sg(
341 struct dma_chan *chan, struct scatterlist *sgl, 341 struct dma_chan *chan, struct scatterlist *sgl,
342 unsigned int sg_len, enum dma_transfer_direction direction, 342 unsigned int sg_len, enum dma_transfer_direction direction,
343 unsigned long append) 343 unsigned long append, void *context)
344{ 344{
345 struct mxs_dma_chan *mxs_chan = to_mxs_dma_chan(chan); 345 struct mxs_dma_chan *mxs_chan = to_mxs_dma_chan(chan);
346 struct mxs_dma_engine *mxs_dma = mxs_chan->mxs_dma; 346 struct mxs_dma_engine *mxs_dma = mxs_chan->mxs_dma;
@@ -435,7 +435,8 @@ err_out:
435 435
436static struct dma_async_tx_descriptor *mxs_dma_prep_dma_cyclic( 436static struct dma_async_tx_descriptor *mxs_dma_prep_dma_cyclic(
437 struct dma_chan *chan, dma_addr_t dma_addr, size_t buf_len, 437 struct dma_chan *chan, dma_addr_t dma_addr, size_t buf_len,
438 size_t period_len, enum dma_transfer_direction direction) 438 size_t period_len, enum dma_transfer_direction direction,
439 void *context)
439{ 440{
440 struct mxs_dma_chan *mxs_chan = to_mxs_dma_chan(chan); 441 struct mxs_dma_chan *mxs_chan = to_mxs_dma_chan(chan);
441 struct mxs_dma_engine *mxs_dma = mxs_chan->mxs_dma; 442 struct mxs_dma_engine *mxs_dma = mxs_chan->mxs_dma;