linux/drivers/media/platform
Sylwester Nawrocki 69b95a3a80 [media] s3c-camif: Fail on insufficient number of allocated buffers
Ensure the driver gets always at least its minimum required
number of buffers allocated by checking actual number of
allocated buffers in vb2_reqbufs(). And free any partially
allocated buffer queue with signaling an error to user space.
Without this patch applications may wait forever to dequeue
a filled buffer, because the hardware didn't even start after
VIDIOC_STREAMON, VIDIOC_QBUF calls, due to insufficient number
of empty buffers.

Reported-by: Alexander Nestorov <alexandernst@gmail.com>
Signed-off-by: Sylwester Nawrocki <sylvester.nawrocki@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2013-03-05 14:53:47 -03:00
..
blackfin [media] vb2: Add support for non monotonic timestamps 2013-03-05 14:53:05 -03:00
davinci [media] vb2: Add support for non monotonic timestamps 2013-03-05 14:53:05 -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] omap_vout: find_vma() needs ->mmap_sem held 2013-01-06 11:01:06 -02: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] media: Convert to devm_ioremap_resource() 2013-02-06 09:33:04 -02:00
s5p-jpeg [media] media: Convert to devm_ioremap_resource() 2013-02-06 09:33:04 -02:00
s5p-mfc [media] vb2: Add support for non monotonic timestamps 2013-03-05 14:53:05 -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] vb2: Add support for non monotonic timestamps 2013-03-05 14:53:05 -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 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
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] media: remove __dev* annotations 2013-01-11 13:03:24 -02:00
sh_vou.c [media] sh_vou: Use vou_dev instead of vou_file wherever possible 2013-02-13 17:29:41 -02:00
timblogiw.c Merge branch 'v4l_for_linus' into staging/for_v3.9 2013-01-24 18:49:18 -02: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