Skip to content

Commit 5e27af0

Browse files
lategoodbyevinodkoul
authored andcommitted
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 <[email protected]> Reviewed-by: Joy Zou <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Vinod Koul <[email protected]>
1 parent 157ae5f commit 5e27af0

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
@@ -57,7 +57,7 @@ static irqreturn_t fsl_edma3_tx_handler(int irq, void *dev_id)
5757

5858
intr = edma_readl_chreg(fsl_chan, ch_int);
5959
if (!intr)
60-
return IRQ_HANDLED;
60+
return IRQ_NONE;
6161

6262
edma_writel_chreg(fsl_chan, 1, ch_int);
6363

0 commit comments

Comments
 (0)