Commit 0a02bc0a authored by Andrew Davis's avatar Andrew Davis Committed by Jassi Brar

mailbox: omap: Fix mailbox interrupt sharing

Multiple mailbox users can share one interrupt line. This flag was
mistakenly dropped as part of the FIFO removal. Mark the IRQ as shared.
Reported-by: default avatarBeleswar Padhi <b-padhi@ti.com>
Fixes: 3f58c1f4 ("mailbox: omap: Remove kernel FIFO message queuing")
Signed-off-by: default avatarAndrew Davis <afd@ti.com>
Tested-by: default avatarBeleswar Padhi <b-padhi@ti.com>
Signed-off-by: default avatarJassi Brar <jassisinghbrar@gmail.com>
parent aa1609f5
......@@ -230,7 +230,8 @@ static int omap_mbox_startup(struct omap_mbox *mbox)
int ret = 0;
ret = request_threaded_irq(mbox->irq, NULL, mbox_interrupt,
IRQF_ONESHOT, mbox->name, mbox);
IRQF_SHARED | IRQF_ONESHOT, mbox->name,
mbox);
if (unlikely(ret)) {
pr_err("failed to register mailbox interrupt:%d\n", ret);
return ret;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment