OpenCloudOS-Kernel/drivers/media
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
..
common [media] media: Fix randconfig error 2013-04-14 20:04:08 -03:00
dvb-core [media] dib7090p: remove the support for the dib7090E 2013-04-22 17:15:26 -03:00
dvb-frontends [media] dib0090: Fix a warning at dib0090_set_EFUSE 2013-04-25 16:06:55 -03:00
firewire [media] demux.h: Remove duplicated enum 2013-04-08 06:53:15 -03:00
i2c [media] s5c73m3: Fix off-by-one valid range checking for fie->index 2013-05-21 08:36:54 -03:00
mmc [media] siano: get rid of CammelCase from smscoreapi.h 2013-03-21 10:03:16 -03:00
parport [media] v4l2: pass std by value to the write-only s_std ioctl 2013-03-24 06:47:00 -03:00
pci [media] cx88: fix NULL pointer dereference 2013-06-08 20:24:56 -03:00
platform [media] exynos4-is: Remove "sysreg" clock handling 2013-06-08 19:53:54 -03:00
radio [media] radio-si476x: depend on SND_SOC 2013-05-21 07:58:43 -03:00
rc [media] media/rc/imon.c: kill urb when send_packet() is interrupted 2013-04-23 17:50:34 -03:00
tuners [media] r820t: Remove a warning for an unused value 2013-04-25 16:07:04 -03:00
usb [media] gspca-sonixb: Adjust hstart on sn9c103 + pas202 2013-05-07 09:41:49 -03:00
v4l2-core [media] v4l2: mem2mem: save irq flags correctly 2013-06-03 15:51:54 -03:00
Kconfig Merge branch 'v4l_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media 2013-02-24 17:35:10 -08:00
Makefile [media] move i2c files into drivers/media/i2c 2012-09-06 18:42:54 -03:00
media-device.c [media] media: info leak in media_device_enum_entities() 2013-04-23 16:58:52 -03:00
media-devnode.c [media] media: Add 64--32 bit compat ioctl handler 2013-03-18 20:44:36 -03:00
media-entity.c [media] media: Add link_validate() op to check links to the sink pad 2012-05-14 08:44:11 -03:00