Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[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]>
- Loading branch information