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 <andyross@google.com>
This commit is contained in:
Andy Ross 2024-11-23 21:22:13 -08:00 committed by Benjamin Cabé
commit 6309c1b1a5

View file

@ -102,7 +102,9 @@ static void mbox_isr(const void *arg)
}
#define DEF_IRQ(N) \
IRQ_CONNECT(DT_INST_IRQN(N), 0, mbox_isr, DEVICE_DT_INST_GET(N), 0);
{ IRQ_CONNECT(DT_INST_IRQN(N), 0, mbox_isr, DEVICE_DT_INST_GET(N), 0); \
irq_enable(DT_INST_IRQN(N)); }
static int mbox_init(void)
{