Commit c983d805 authored by Peng Ma's avatar Peng Ma Committed by Vinod Koul

dmaengine: fsl-qdma: Continue to clear register on error

When an error occurs we should clean the error register then to return
Signed-off-by: default avatarPeng Ma <peng.ma@nxp.com>
[vkoul: change patch title]
Signed-off-by: default avatarVinod Koul <vkoul@kernel.org>
parent 8f95adcf
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment