aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorLaurent Pinchart <[email protected]>2012-03-12 10:02:47 -0300
committerMauro Carvalho Chehab <[email protected]>2012-03-19 19:02:22 -0300
commitff732d281b29ad7898c1193843ebe6a37d426e36 (patch)
tree25424dfa90201d53c742dbf56124d657c1f6e282 /tools/perf/scripts/python
parentee981c6fac6724c3730102c0905af1bc1c99f722 (diff)
[media] 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 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 <[email protected]> Acked-by: Bhupesh Sharma <[email protected]> Acked-by: Sakari Ailus <[email protected]> Tested-by: Sakari Ailus <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions