linux/drivers/media/platform
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
..
blackfin [media] blackfin: replace V4L2_IN/OUT_CAP_CUSTOM_TIMINGS by DV_TIMINGS 2013-03-19 16:16:41 -03:00
davinci [media] davinci: vpbe: fix module build 2013-03-19 17:53:04 -03:00
exynos-gsc [media] media: Convert to devm_ioremap_resource() 2013-02-06 09:33:04 -02:00
marvell-ccic [media] mcam-core: implement the control framework 2013-02-08 14:42:16 -02:00
omap [media] Corrected Oops on omap_vout when no manager is connected 2013-03-21 18:31:51 -03:00
omap3isp arm-soc: late OMAP changes 2013-02-28 20:00:40 -08:00
s3c-camif [media] s3c-camif: Fail on insufficient number of allocated buffers 2013-03-05 14:53:47 -03:00
s5p-fimc [media] vb2: Add support for non monotonic timestamps 2013-03-05 14:53:05 -03:00
s5p-g2d [media] s5p-g2d: Add DT based discovery support 2013-03-05 14:54:17 -03:00
s5p-jpeg [media] media: Convert to devm_ioremap_resource() 2013-02-06 09:33:04 -02:00
s5p-mfc [media] s5p-mfc: Staticize symbols in s5p_mfc_opr_v5.c 2013-03-18 17:25:30 -03:00
s5p-tv 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
soc_camera [media] soc_camera/mx1_camera: Use module_platform_driver_probe macro 2013-03-21 14:35:27 -03:00
arv.c
coda.c 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
coda.h
fsl-viu.c Merge branch 'v4l_for_linus' into staging/for_v3.9 2013-01-24 18:49:18 -02:00
indycam.c
indycam.h
Kconfig [media] media/v4l2: VIDEOBUF2_DMA_CONTIG should depend on HAS_DMA 2013-03-18 18:03:18 -03:00
m2m-deinterlace.c [media] m2m-deinterlace: use correct check for kzalloc failure 2012-12-27 19:08:12 -02:00
Makefile [media] media: add a VEU MEM2MEM format conversion and scaling driver 2012-12-20 14:23:10 -02:00
mem2mem_testdev.c [media] v4l: mem2mem_testdev: add support for dmabuf importing 2012-11-25 17:19:45 -02:00
mx2_emmaprp.c [media] media: Convert to devm_ioremap_resource() 2013-02-06 09:33:04 -02:00
omap24xxcam-dma.c
omap24xxcam.c Merge branch 'v4l_for_linus' into staging/for_v3.9 2013-01-24 18:49:18 -02:00
omap24xxcam.h
sh_veu.c [media] sh_veu: Use module_platform_driver_probe macro 2013-03-21 14:35:39 -03:00
sh_vou.c [media] sh_vou: Use module_platform_driver_probe macro 2013-03-21 14:35:50 -03:00
timblogiw.c [media] timblogiw: Fix sparse warning 2013-03-14 11:36:34 -03:00
via-camera.c [media] via-camera: implement the control framework 2013-02-08 14:42:57 -02:00
via-camera.h
vino.c [media] v4l: Tell user space we're using monotonic timestamps 2012-12-21 11:20:51 -02:00
vino.h
vivi.c [media] vb2: Add support for non monotonic timestamps 2013-03-05 14:53:05 -03:00