dmaengine: fsl-edma: Fix return code for unhandled interrupts
authorStefan Wahren <wahrenst@gmx.net>
Thu, 24 Apr 2025 11:48:29 +0000 (13:48 +0200)
committerVinod Koul <vkoul@kernel.org>
Wed, 14 May 2025 13:56:22 +0000 (14:56 +0100)
commit5e27af0514e2249a9ccc9a762abd3b74e03a1f90
tree6d1127ebc8892264b66ac32a75585b690805a75a
parent157ae5ffd76a2857ccb4b7ce40bc5a344ca00395
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: 72f5801a4e2b ("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>
drivers/dma/fsl-edma-main.c