diff options
author | Hans Verkuil <[email protected]> | 2011-12-13 05:44:42 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <[email protected]> | 2012-01-06 11:48:22 -0200 |
commit | d2f7a1a2467c01b569d2a7fbf10e8894a3f0e496 (patch) | |
tree | f5037f17ea9219456c4608fc4a5af8a3dcb2ddb3 /tools/perf/scripts/python/sched-migration.py | |
parent | bb0a896e3d50833a43f94264ec8e66900b796b8b (diff) |
[media] vpif_capture.c: v4l2_device_register() is called too late in vpif_probe()
The function v4l2_device_register() is called too late in vpif_probe().
This meant that vpif_obj.v4l2_dev is accessed before it is initialized
which caused a crash.
This used to work in the past, but video_register_device() is now actually
using the v4l2_dev pointer.
Note that vpif_display.c doesn't have this bug, there v4l2_device_register()
is called at the beginning of vpif_probe.
Signed-off-by: Georgios Plakaris <[email protected]>
Signed-off-by: Hans Verkuil <[email protected]>
Acked-by: Manjunath Hadli <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions