On Thu, May 10, 2012 at 5:19 AM, Juan Gutierrez <[email protected]> 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.
--
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