Message ID | B85A65D85D7EB246BE421B3FB0FBB59301DD9921E7@dbde02.ent.ti.com (mailing list archive) |
---|---|
State | Accepted, archived |
Delegated to: | Tony Lindgren |
Headers | show |
On Tue, Sep 22, 2009 at 08:05:09PM +0530, C.A, Subramaniam wrote: > Currently, this facilitates both the tesla and ducati > sides to request for the same irq through an > omap_mbox_get() call. You're dropping IRQF_DISABLED - is this safe? Why was the original code using it? Do you need IRQF_DISABLED|IRQF_SHARED ?
diff --git a/arch/arm/plat-omap/mailbox.c b/arch/arm/plat-omap/mailbox.c index 72ea119..3ab3f0d 100644 --- a/arch/arm/plat-omap/mailbox.c +++ b/arch/arm/plat-omap/mailbox.c @@ -284,7 +284,7 @@ static int omap_mbox_startup(struct omap_mbox *mbox) write_unlock(&mboxes_lock); } - ret = request_irq(mbox->irq, mbox_interrupt, IRQF_DISABLED, + ret = request_irq(mbox->irq, mbox_interrupt, IRQF_SHARED, mbox->name, mbox); if (unlikely(ret)) { printk(KERN_ERR