On Thu, May 10, 2012 at 11:09 PM, Juan Gutierrez <[email protected]> wrote:
> 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 generic
> platform mailbox layer.
>
> Also, the notifier_block registration is called before
> enabling the mbox's irq to avoid possible race of receiving
> an interrupt without invoking the user's notifier callback.
>
> Signed-off-by: Juan Gutierrez <[email protected]>

Acked-by: Ohad Ben-Cohen <[email protected]>
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to