projects
/
linux-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8f95adc
)
dmaengine: fsl-qdma: Continue to clear register on error
author
Peng Ma
<peng.ma@nxp.com>
Wed, 22 May 2019 03:21:03 +0000
(
03:21
+0000)
committer
Vinod Koul
<vkoul@kernel.org>
Tue, 4 Jun 2019 12:05:05 +0000
(17:35 +0530)
When an error occurs we should clean the error register then to return
Signed-off-by: Peng Ma <peng.ma@nxp.com>
[vkoul: change patch title]
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/dma/fsl-qdma.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/dma/fsl-qdma.c
b/drivers/dma/fsl-qdma.c
index da8fdf5dca74be0f22d39b0569b949e403f47ae9..8e341c0c13bcf5772e7a33eedb9fc6e045c46895 100644
(file)
--- a/
drivers/dma/fsl-qdma.c
+++ b/
drivers/dma/fsl-qdma.c
@@
-703,10
+703,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;