projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1faab1f
)
dmaengine: mxs-dma: fix the arg to mxs_dma_reset_chan()
author
Vinod Koul
<vinod.koul@intel.com>
Sun, 7 Dec 2014 17:37:38 +0000
(23:07 +0530)
committer
Vinod Koul
<vinod.koul@intel.com>
Mon, 22 Dec 2014 07:04:22 +0000
(12:34 +0530)
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>
drivers/dma/mxs-dma.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/dma/mxs-dma.c
b/drivers/dma/mxs-dma.c
index 834041e5a7691f5dcdf8f13d50fe28a6a6113b89..a24af4fc24e917a9522416bf9009fe596ca3468c 100644
(file)
--- 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)
"%s: error in channel %d\n", __func__,
chan);
mxs_chan->status = DMA_ERROR;
- mxs_dma_reset_chan(mxs_chan->chan);
+ mxs_dma_reset_chan(
&
mxs_chan->chan);
} else if (mxs_chan->status != DMA_COMPLETE) {
if (mxs_chan->flags & MXS_DMA_SG_LOOP) {
mxs_chan->status = DMA_IN_PROGRESS;