Skip to content

Commit 0a02bc0

Browse files
glneoJassi Brar
authored andcommitted
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: Beleswar Padhi <[email protected]> Fixes: 3f58c1f ("mailbox: omap: Remove kernel FIFO message queuing") Signed-off-by: Andrew Davis <[email protected]> Tested-by: Beleswar Padhi <[email protected]> Signed-off-by: Jassi Brar <[email protected]>
1 parent aa1609f commit 0a02bc0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

drivers/mailbox/omap-mailbox.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,8 @@ static int omap_mbox_startup(struct omap_mbox *mbox)
230230
int ret = 0;
231231

232232
ret = request_threaded_irq(mbox->irq, NULL, mbox_interrupt,
233-
IRQF_ONESHOT, mbox->name, mbox);
233+
IRQF_SHARED | IRQF_ONESHOT, mbox->name,
234+
mbox);
234235
if (unlikely(ret)) {
235236
pr_err("failed to register mailbox interrupt:%d\n", ret);
236237
return ret;

0 commit comments

Comments
 (0)