Skip to content

Commit 6309c1b

Browse files
andyrosskartben
authored andcommitted
soc/mediatek/mbox: Enable IRQ
This driver forgot to enable its interrupt, but has been working becuase Zephyr apps were always run in a context where the interrupt controller had been initialized by a SOF binary at boot. Signed-off-by: Andy Ross <[email protected]>
1 parent 4d66559 commit 6309c1b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

soc/mediatek/mt8xxx/mbox.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,9 @@ static void mbox_isr(const void *arg)
102102
}
103103

104104
#define DEF_IRQ(N) \
105-
IRQ_CONNECT(DT_INST_IRQN(N), 0, mbox_isr, DEVICE_DT_INST_GET(N), 0);
105+
{ IRQ_CONNECT(DT_INST_IRQN(N), 0, mbox_isr, DEVICE_DT_INST_GET(N), 0); \
106+
irq_enable(DT_INST_IRQN(N)); }
107+
106108

107109
static int mbox_init(void)
108110
{

0 commit comments

Comments
 (0)