projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4e4106f
)
dmaengine: fsl-qdma: Add improvement
author
Peng Ma
<peng.ma@nxp.com>
Mon, 6 May 2019 02:21:11 +0000
(10:21 +0800)
committer
Vinod Koul
<vkoul@kernel.org>
Tue, 21 May 2019 04:35:20 +0000
(10:05 +0530)
When an error occurs we should clean the error register then to return
Signed-off-by: Peng Ma <peng.ma@nxp.com>
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/dma/fsl-qdma.c
patch
|
blob
|
history
diff --git
a/drivers/dma/fsl-qdma.c
b/drivers/dma/fsl-qdma.c
index
aa1d0ae
..
60b062c
100644
(file)
--- a/
drivers/dma/fsl-qdma.c
+++ b/
drivers/dma/fsl-qdma.c
@@
-701,10
+701,8
@@
static irqreturn_t fsl_qdma_error_handler(int irq, void *dev_id)
intr = qdma_readl(fsl_qdma, status + FSL_QDMA_DEDR);
- if (intr)
{
+ if (intr)
dev_err(fsl_qdma->dma_dev.dev, "DMA transaction error!\n");
- return IRQ_NONE;
- }
qdma_writel(fsl_qdma, FSL_QDMA_DEDR_CLEAR, status + FSL_QDMA_DEDR);
return IRQ_HANDLED;