Skip to content

Commit 20ee6c9

Browse files
committed
dmaengine: fsl-edma: Fix return code for unhandled interrupts
JIRA: https://issues.redhat.com/browse/RHEL-115725 commit 5e27af0 Author: Stefan Wahren <wahrenst@gmx.net> Date: Thu Apr 24 13:48:29 2025 +0200 dmaengine: fsl-edma: Fix return code for unhandled interrupts For fsl,imx93-edma4 two DMA channels share the same interrupt. So in case fsl_edma3_tx_handler is called for the "wrong" channel, the return code must be IRQ_NONE. This signalize that the interrupt wasn't handled. Fixes: 72f5801 ("dmaengine: fsl-edma: integrate v3 support") Signed-off-by: Stefan Wahren <wahrenst@gmx.net> Reviewed-by: Joy Zou <joy.zou@nxp.com> Link: https://lore.kernel.org/r/20250424114829.9055-1-wahrenst@gmx.net Signed-off-by: Vinod Koul <vkoul@kernel.org> Signed-off-by: Jared Kangas <jkangas@redhat.com>
1 parent 06fccf1 commit 20ee6c9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/dma/fsl-edma-main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ static irqreturn_t fsl_edma3_tx_handler(int irq, void *dev_id)
134134

135135
intr = edma_readl_chreg(fsl_chan, ch_int);
136136
if (!intr)
137-
return IRQ_HANDLED;
137+
return IRQ_NONE;
138138

139139
edma_writel_chreg(fsl_chan, 1, ch_int);
140140

0 commit comments

Comments
 (0)