aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVinod Koul <vinod.koul@intel.com>2014-12-07 12:37:38 -0500
committerVinod Koul <vinod.koul@intel.com>2014-12-22 02:04:22 -0500
commite0cad7a00d86d8ebfac4f2d682e308508620de96 (patch)
tree8257d2ba1c14864b43c728680564b92a01f340cc
parent1faab1f2e3be3a10197840648d03a31fd0a29e93 (diff)
dmaengine: mxs-dma: fix the arg to mxs_dma_reset_chan()
mxs_dma_reset_chan() expects struct dma_chan * as argument but we were providing struct dma_chan, so fix this Signed-off-by: Vinod Koul <vinod.koul@intel.com>
-rw-r--r--drivers/dma/mxs-dma.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/dma/mxs-dma.c b/drivers/dma/mxs-dma.c
index 834041e5a769..a24af4fc24e9 100644
--- a/drivers/dma/mxs-dma.c
+++ b/drivers/dma/mxs-dma.c
@@ -389,7 +389,7 @@ static irqreturn_t mxs_dma_int_handler(int irq, void *dev_id)
389 "%s: error in channel %d\n", __func__, 389 "%s: error in channel %d\n", __func__,
390 chan); 390 chan);
391 mxs_chan->status = DMA_ERROR; 391 mxs_chan->status = DMA_ERROR;
392 mxs_dma_reset_chan(mxs_chan->chan); 392 mxs_dma_reset_chan(&mxs_chan->chan);
393 } else if (mxs_chan->status != DMA_COMPLETE) { 393 } else if (mxs_chan->status != DMA_COMPLETE) {
394 if (mxs_chan->flags & MXS_DMA_SG_LOOP) { 394 if (mxs_chan->flags & MXS_DMA_SG_LOOP) {
395 mxs_chan->status = DMA_IN_PROGRESS; 395 mxs_chan->status = DMA_IN_PROGRESS;