diff --git a/arch/arm64/src/imx9/imx9_edma.c b/arch/arm64/src/imx9/imx9_edma.c index 3c3110d4fe1d1..544e8b0feb022 100644 --- a/arch/arm64/src/imx9/imx9_edma.c +++ b/arch/arm64/src/imx9/imx9_edma.c @@ -864,6 +864,11 @@ void weak_function arm64_dma_initialize(void) putreg32(0, IMX9_EDMA_TCD(base, chan) + IMX9_EDMA_CH_CSR_OFFSET); + + /* Clear interrupt if any */ + + putreg32(1, IMX9_EDMA_TCD(base, chan) + IMX9_EDMA_CH_INT_OFFSET); + /* Set all TCD CSR, biter and citer entries to 0 so that * will be 0 when DONE is not set so that imx9_dmach_getcount * reports 0.