Hi Laurent, Thanks for the patch!
On Mon, Mar 12, 2012 at 03:02:47PM +0100, Laurent Pinchart wrote: > Media-related drivers living outside drivers/media/ (such as the UVC > gadget driver in drivers/usb/gadget/) rely on the media core being > initialized before they're probed. As drivers/usb/ is linked before > drivers/media/, this is currently not the case and will lead to crashes > if the drivers are not compiled as modules. > > Register media_devnode_init() as a subsys_initcall() instead of > module_init() to fix this. > > Signed-off-by: Laurent Pinchart <laurent.pinch...@ideasonboard.com> > --- > drivers/media/media-devnode.c | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) Acked-by: Sakari Ailus <sakari.ai...@iki.fi> Tested-by: Sakari Ailus <sakari.ai...@iki.fi> -- Sakari Ailus e-mail: sakari.ai...@iki.fi jabber/XMPP/Gmail: sai...@retiisi.org.uk -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html