linux/drivers/media
Federico Fuga 15170025ee [media] Corrected Oops on omap_vout when no manager is connected
If no manager is connected to the vout device, the omapvid_init() function
fails. No error condition is checked, and the device is started. Later on,
when irq is serviced, a NULL pointer dereference occurs.
Also, the isr routine must be registered only if no error occurs, otherwise
the isr triggers without the proper setup, and the kernel oops again.
To prevent this, the error condition is checked, and the streamon function
exits with error. Also the isr registration call is moved after the setup
procedure is completed.

Reviewed-by: Prabhakar Lad <prabhakar.lad@ti.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2013-03-21 18:31:51 -03:00
..
common [media] siano: make some functions static 2013-03-21 10:04:01 -03:00
dvb-core [media] dvb-core: don't clear stats at DTV_CLEAR 2013-03-21 10:27:35 -03:00
dvb-frontends [media] ts2020: use customise option correctly 2013-03-21 14:11:12 -03:00
firewire [media] remove include/linux/dvb/dmx.h 2012-10-19 07:29:17 -03:00
i2c [media] soc_camera: remove two outdated selects 2013-03-21 14:36:05 -03:00
mmc [media] siano: get rid of CammelCase from smscoreapi.h 2013-03-21 10:03:16 -03:00
parport [media] bw-qcam: remove unnecessary qc_reset and qc_setscanmode calls 2013-02-05 18:20:38 -02:00
pci [media] cx25821: Cleanup filename assignment code 2013-03-18 20:37:09 -03:00
platform [media] Corrected Oops on omap_vout when no manager is connected 2013-03-21 18:31:51 -03:00
radio [media] Media: remove incorrect __init/__exit markups 2013-03-18 16:59:59 -03:00
rc [media] rc-core: rename ir_input_class to rc_class 2013-03-19 15:26:59 -03:00
tuners [media] xc5000: fix incorrect debug printnk 2013-03-21 16:46:05 -03:00
usb [media] siano: remove the remaining CamelCase compliants 2013-03-21 10:03:45 -03:00
v4l2-core [media] vb2-dma-sg: add debug module option 2013-03-21 13:25:15 -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: implement 32-on-64 bit compat IOCTL handling 2013-03-18 20:45:14 -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