[PATCH v3 1/2] omap: mailbox: enable mailbox irq per instance

2012-05-09 Thread Juan Gutierrez
The machine-specific omap2_mbox_startup is called only once to initialize the whole mbox module. Enabling mbox irq at startup is only enabling the irq of the very first mailbox instance created. The enable_irq function should be called every time a new mbox instance is created/opened, in the

Re: [PATCH v3 1/2] omap: mailbox: enable mailbox irq per instance

2012-05-09 Thread Ohad Ben-Cohen
On Thu, May 10, 2012 at 5:19 AM, Juan Gutierrez jgutier...@ti.com wrote: @@ -338,13 +341,13 @@ struct omap_mbox *omap_mbox_get(const char *name, struct notifier_block *nb)        if (!mbox)                return ERR_PTR(-ENOENT); +       if (nb) +