OpenCloudOS-Kernel/drivers/media/pci
Hans Verkuil 609c4c12af [media] cx88: fix NULL pointer dereference
This fixes a NULL pointer deference when loading the cx88_dvb module for a
Hauppauge HVR4000.
The bugzilla bug report is here:
https://bugzilla.kernel.org/show_bug.cgi?id=56271
The cause is that the wm8775 is optional, so even though the board info says
there is one, it doesn't have to be there. Checking whether the module was
actually loaded is much safer.
Note that this driver is quite buggy when it comes to unloading and reloading
modules. Unloading cx8800 and reloading it again will still cause a crash,
most likely because either the i2c bus isn't unloaded at the right time and/or
the v4l2_device_unregister isn't called at the right time.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Reported-by: Sebastian Frei <sebastian@familie-frei.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2013-06-08 20:24:56 -03:00
..
b2c2 [media] Kconfig: Fix b2c2 common code selection 2012-08-21 08:38:31 -03:00
bt8xx Linux 3.9-rc5 2013-04-01 09:54:14 -03:00
cx18 [media] ioctl numbers are unsigned int 2013-03-29 08:18:36 -03:00
cx88 [media] cx88: fix NULL pointer dereference 2013-06-08 20:24:56 -03:00
cx23885 [media] v4l2: add const to argument of write-only s_register ioctl 2013-03-24 08:47:01 -03:00
cx25821 [media] cx25821-alsa: get rid of a __must_check warning 2013-04-25 16:12:04 -03:00
ddbridge Drivers: media: remove __dev* attributes. 2013-01-03 15:57:02 -08:00
dm1105 Merge branch 'v4l_for_linus' into staging/for_v3.9 2013-01-24 18:49:18 -02:00
ivtv [media] ioctl numbers are unsigned int 2013-03-29 08:18:36 -03:00
mantis Merge branch 'v4l_for_linus' into staging/for_v3.9 2013-01-24 18:49:18 -02:00
meye [media] ioctl numbers are unsigned int 2013-03-29 08:18:36 -03:00
ngene Merge branch 'v4l_for_linus' into staging/for_v3.9 2013-01-24 18:49:18 -02:00
pluto2 Drivers: media: remove __dev* attributes. 2013-01-03 15:57:02 -08:00
pt1 Drivers: media: remove __dev* attributes. 2013-01-03 15:57:02 -08:00
saa7134 [media] saa7134: v4l2-compliance: clear reserved part of VBI structure 2013-04-14 19:41:34 -03:00
saa7146 [media] v4l2: add const to argument of write-only s_register ioctl 2013-03-24 08:47:01 -03:00
saa7164 [media] v4l2: add const to argument of write-only s_register ioctl 2013-03-24 08:47:01 -03:00
sta2x11 [media] sta2x11_vip: Fix compilation if I2C is not set 2013-04-16 20:06:34 -03:00
ttpci [media] budget: Add support for Philips Semi Sylt PCI ref. design 2013-04-08 07:28:01 -03:00
zoran [media] zoran: Don't print proc_dir_entry data in debug [RFC] 2013-04-16 18:27:44 -03:00
Kconfig [media] Add missing help for some menuconfig items 2012-08-21 08:17:37 -03:00
Makefile [media] Fix some Makefile rules 2012-08-16 19:55:03 -03:00