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:
parent
4d6655983c
commit
6309c1b1a5
1 changed files with 3 additions and 1 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue