Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Peng Ma and committed by
Vinod Koul
82748491 4e4106f5

+1 -3
+1 -3
drivers/dma/fsl-qdma.c
··· 701 701 702 702 intr = qdma_readl(fsl_qdma, status + FSL_QDMA_DEDR); 703 703 704 - if (intr) { 704 + if (intr) 705 705 dev_err(fsl_qdma->dma_dev.dev, "DMA transaction error!\n"); 706 - return IRQ_NONE; 707 - } 708 706 709 707 qdma_writel(fsl_qdma, FSL_QDMA_DEDR_CLEAR, status + FSL_QDMA_DEDR); 710 708 return IRQ_HANDLED;