Re: [PATCH] media: Initialize the media core with subsys_initcall()

2012-03-14 Thread Sakari Ailus
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 l

Re: [PATCH] media: Initialize the media core with subsys_initcall()

2012-03-13 Thread Laurent Pinchart
: linux-media@vger.kernel.org > > Cc: Bhupesh SHARMA > > Subject: [PATCH] media: Initialize the media core with > > subsys_initcall() > > > > Media-related drivers living outside drivers/media/ (such as the UVC > > gadget driver in drivers/usb/gadget/) rely on th

RE: [PATCH] media: Initialize the media core with subsys_initcall()

2012-03-12 Thread Bhupesh SHARMA
Hi Laurent, Thanks for the patch. > -Original Message- > From: Laurent Pinchart [mailto:laurent.pinch...@ideasonboard.com] > Sent: Monday, March 12, 2012 7:33 PM > To: linux-media@vger.kernel.org > Cc: Bhupesh SHARMA > Subject: [PATCH] media: Initialize t

[PATCH] media: Initialize the media core with subsys_initcall()

2012-03-12 Thread Laurent Pinchart
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