aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorDave Young <[email protected]>2011-09-06 09:08:08 -0300
committerMauro Carvalho Chehab <[email protected]>2011-09-21 22:17:53 -0300
commit236c5441d70312242b5b32d229259930046a80e5 (patch)
tree45575f4f3e36ce88299baf99991b8998a10a00ee /tools/perf/util/scripting-engines/trace-event-python.c
parent8280b662df96f4172c4972b14a4aec0daf272b8f (diff)
[media] v4l: Make sure we hold a reference to the v4l2_device before using it
v4l2_device_disconnect() calls dev_get_drvdata() and dev_set_drvdata() on the device it received in v4l2_device_register(). Get a reference to the device in v4l2_device_register() to make sure it won't disappear as long as we need it. Reported-by: Sitsofe Wheeler <[email protected]> Signed-off-by: Dave Young <[email protected]> Tested-by: Sitsofe Wheeler <[email protected]> Acked-by: Laurent Pinchart <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions