This is an automated email from the ASF dual-hosted git repository.
cederom pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git
The following commit(s) were added to refs/heads/master by this push:
new 143938777ae arch/arm/imx9: eDMA5 don't enable all interrupts
143938777ae is described below
commit 143938777aec2a6ec55750e35e075fb5a7ce54a7
Author: Peter van der Perk <[email protected]>
AuthorDate: Mon Apr 13 17:41:19 2026 +0200
arch/arm/imx9: eDMA5 don't enable all interrupts
Fixes irq_unexpected_isr when receiving interrupts not used
by the M7 core
Signed-off-by: Peter van der Perk <[email protected]>
---
arch/arm/src/imx9/imx9_edma.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/arch/arm/src/imx9/imx9_edma.c b/arch/arm/src/imx9/imx9_edma.c
index c8557c3aa97..ce4c6e3488f 100644
--- a/arch/arm/src/imx9/imx9_edma.c
+++ b/arch/arm/src/imx9/imx9_edma.c
@@ -1001,7 +1001,8 @@ void weak_function arm_dma_initialize(void)
* controller).
*/
- for (i = 0; i < DMA4_IRQ_COUNT; i++)
+ for (i = CONFIG_IMX9_EDMA5_CHAN_OFFSET;
+ i < CONFIG_IMX9_EDMA5_CHAN_COUNT; i++)
{
up_enable_irq(IMX9_IRQ_DMA5_2_0_1 + i);
}