Skip to content

Commit 5dbaa86

Browse files
danieldegrassefabiobaltieri
authored andcommitted
drivers: mspi: mspi_dw: properly support multi-level interrupts
Multilevel interrupts require that the irq number be read with DT_IRQN, so update the driver to use this macro. Signed-off-by: Daniel DeGrasse <[email protected]>
1 parent cb31e67 commit 5dbaa86

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/mspi/mspi_dw.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1408,10 +1408,10 @@ static DEVICE_API(mspi, drv_api) = {
14081408
};
14091409

14101410
#define MSPI_DW_INST_IRQ(idx, inst) \
1411-
IRQ_CONNECT(DT_INST_IRQ_BY_IDX(inst, idx, irq), \
1411+
IRQ_CONNECT(DT_INST_IRQN_BY_IDX(inst, idx), \
14121412
DT_INST_IRQ_BY_IDX(inst, idx, priority), \
14131413
mspi_dw_isr, DEVICE_DT_INST_GET(inst), 0); \
1414-
irq_enable(DT_INST_IRQ_BY_IDX(inst, idx, irq))
1414+
irq_enable(DT_INST_IRQN_BY_IDX(inst, idx))
14151415

14161416
#define MSPI_DW_MMIO_ROM_INIT(node_id) \
14171417
COND_CODE_1(DT_REG_HAS_NAME(node_id, core), \

0 commit comments

Comments
 (0)