[PATCH v3 1/2] omap: mailbox: enable mailbox irq per instance
Ohad Ben-Cohen
ohad at wizery.com
Thu May 10 01:25:27 EDT 2012
On Thu, May 10, 2012 at 5:19 AM, Juan Gutierrez <jgutierrez at 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)
> + blocking_notifier_chain_register(&mbox->notifier, nb);
> +
> ret = omap_mbox_startup(mbox);
> if (ret)
> return ERR_PTR(-ENODEV);
Let's unroll blocking_notifier_chain_register when omap_mbox_startup fails.
Care to do a quick respin of this one with it ?
Thanks,
Ohad.
More information about the linux-arm-kernel
mailing list