linux-sg2042/drivers/media/platform/omap
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
..
Kconfig [media] omap: Fix Kconfig dependencies on OMAP2 2012-12-27 14:48:26 -02:00
Makefile
omap_vout.c [media] Corrected Oops on omap_vout when no manager is connected 2013-03-21 18:31:51 -03:00
omap_vout_vrfb.c ARM: OMAP: Move plat-omap/dma-omap.h to include/linux/omap-dma.h 2012-11-30 08:41:50 -08:00
omap_vout_vrfb.h
omap_voutdef.h OMAP: move arch/arm/plat-omap/include/plat/vrfb.h 2012-10-17 12:11:12 +03:00
omap_voutlib.c [media] omap_vout: use omapdss's version instead of cpu_is_* 2012-11-29 19:09:16 +02:00
omap_voutlib.h [media] omap_vout: use omapdss's version instead of cpu_is_* 2012-11-29 19:09:16 +02:00