linux/drivers/media/video/davinci
Hans Verkuil d2f7a1a246 [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 <gplakari@cisco.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Acked-by: Manjunath Hadli <Manjunath.hadli@ti.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2012-01-06 11:48:22 -02:00
..
ccdc_hw_device.h V4L/DVB (12249): v4l: ccdc hw device header file for vpfe capture 2009-09-19 00:18:13 -03:00
dm355_ccdc_regs.h V4L/DVB (12250): v4l: dm355 ccdc module for vpfe capture driver 2009-09-19 00:18:15 -03:00
dm355_ccdc.c drivers/media: Add module.h to all files using it implicitly 2011-10-31 19:31:51 -04:00
dm644x_ccdc_regs.h V4L/DVB: V4L: dm644x_ccdc: Add Suspend/Resume Support 2010-05-18 00:52:45 -03:00
dm644x_ccdc.c drivers/media: Add module.h to all files using it implicitly 2011-10-31 19:31:51 -04:00
isif_regs.h V4L/DVB: Fix bad whitespacing 2010-05-18 00:47:01 -03:00
isif.c V4L/DVB: V4L - vpfe capture - source for ISIF driver on DM365 2010-02-26 15:11:06 -03:00
Kconfig [media] davinci vpbe: Build infrastructure for VPBE driver 2011-07-27 17:53:10 -03:00
Makefile [media] davinci vpbe: Build infrastructure for VPBE driver 2011-07-27 17:53:10 -03:00
vpbe_display.c [media] drivers/media/video/davinci/vpbe_display.c: eliminate a null pointer dereference 2011-11-07 13:13:15 -02:00
vpbe_osd_regs.h [media] davinci vpbe: OSD(On Screen Display) block 2011-07-27 17:53:10 -03:00
vpbe_osd.c [media] davinci vpbe: add dm365 and dm355 specific OSD changes 2012-01-06 10:00:56 -02:00
vpbe_venc_regs.h [media] davinci vpbe: VENC( Video Encoder) implementation 2011-07-27 17:53:10 -03:00
vpbe_venc.c [media] davinci vpbe: add VENC block changes to enable dm365 and dm355 2012-01-06 10:09:26 -02:00
vpbe.c [media] drivers/media/video/davinci/vpbe.c: introduce missing kfree 2012-01-06 11:13:05 -02:00
vpfe_capture.c Fix common misspellings 2011-03-31 11:26:23 -03:00
vpif_capture.c [media] vpif_capture.c: v4l2_device_register() is called too late in vpif_probe() 2012-01-06 11:48:22 -02:00
vpif_capture.h [media] Stop using linux/version.h on the remaining video drivers 2011-07-27 17:53:16 -03:00
vpif_display.c [media] Stop using linux/version.h on the remaining video drivers 2011-07-27 17:53:16 -03:00
vpif_display.h [media] Stop using linux/version.h on the remaining video drivers 2011-07-27 17:53:16 -03:00
vpif.c treewide: Convert uses of struct resource to resource_size(ptr) 2011-06-10 14:55:36 +02:00
vpif.h [media] vpif_cap/disp: Cleanup, improved comments 2011-01-19 11:28:19 -02:00
vpss.c tree-wide: fix comment/printk typos 2010-11-01 15:38:34 -04:00