mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-16 14:26:56 +07:00
dmaengine: fsl-qdma: Add improvement
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>
This commit is contained in:
parent
4e4106f5e9
commit
827484912e
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user