dmaengine: fsl-edma: move clearing of register interrupt into setup_irq function
authorFrank Li <Frank.Li@nxp.com>
Mon, 21 Aug 2023 16:16:13 +0000 (12:16 -0400)
committerVinod Koul <vkoul@kernel.org>
Tue, 22 Aug 2023 14:41:03 +0000 (20:11 +0530)
commitf5b3ba52f36adcda7801fba99c414975f19c85d4
tree62b60ee088572db8ffadbc7b45f2d927404be28d
parenta9903de3aa16731846bf924342eca44bdabe9be6
dmaengine: fsl-edma: move clearing of register interrupt into setup_irq function

This accommodates differences in the register layout of EDMA v3 by moving
the clearing of register interrupts into the platform-specific set_irq
function. This should ensure better compatibility with EDMA v3.

Signed-off-by: Frank Li <Frank.Li@nxp.com>
Link: https://lore.kernel.org/r/20230821161617.2142561-9-Frank.Li@nxp.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/dma/fsl-edma-main.c