linux-hardened/drivers/media/platform
Hans Verkuil e37559b22c [media] vb2: stop_streaming should return void
The vb2 core ignores any return code from the stop_streaming op.
And there really isn't anything it can do anyway in case of an error.
So change the return type to void and update any drivers that implement it.

The int return gave drivers the idea that this operation could actually
fail, but that's really not the case.

The pwc amd sdr-msi3101 drivers both had this construction:

        if (mutex_lock_interruptible(&s->v4l2_lock))
                return -ERESTARTSYS;

This has been updated to just call mutex_lock(). The stop_streaming op
expects this to really stop streaming and I very much doubt this will
work reliably if stop_streaming just returns without really stopping the
DMA.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Acked-by: Pawel Osciak <pawel@osciak.com>
Acked-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
2014-04-23 10:12:51 -03:00
..
blackfin [media] vb2: stop_streaming should return void 2014-04-23 10:12:51 -03:00
davinci [media] vb2: stop_streaming should return void 2014-04-23 10:12:51 -03:00
exynos-gsc [media] vb2: stop_streaming should return void 2014-04-23 10:12:51 -03:00
exynos4-is [media] vb2: stop_streaming should return void 2014-04-23 10:12:51 -03:00
marvell-ccic [media] vb2: stop_streaming should return void 2014-04-23 10:12:51 -03:00
omap [media] omap_vout: Add DVI display type support 2014-03-11 12:10:06 -03:00
omap3isp [media] omap3isp: Fix kerneldoc for _module_sync_is_stopping and isp_isr() 2014-03-05 17:02:07 -03:00
s3c-camif [media] vb2: stop_streaming should return void 2014-04-23 10:12:51 -03:00
s5p-g2d [media] v4l: Copy timestamp source flags to destination on m2m devices 2014-03-05 16:47:15 -03:00
s5p-jpeg [media] vb2: stop_streaming should return void 2014-04-23 10:12:51 -03:00
s5p-mfc [media] vb2: stop_streaming should return void 2014-04-23 10:12:51 -03:00
s5p-tv [media] vb2: stop_streaming should return void 2014-04-23 10:12:51 -03:00
soc_camera [media] vb2: stop_streaming should return void 2014-04-23 10:12:51 -03:00
ti-vpe [media] v4l: ti-vpe: retain v4l2_buffer flags for captured buffers 2014-04-07 09:44:25 -03:00
vsp1 [media] vb2: stop_streaming should return void 2014-04-23 10:12:51 -03:00
arv.c [media] arv: fix sleep_on race 2014-03-11 09:23:10 -03:00
coda.c [media] vb2: stop_streaming should return void 2014-04-23 10:12:51 -03:00
coda.h [media] coda: add CODA7541 decoding support 2013-07-31 15:56:44 -03:00
fsl-viu.c fsl-viu: adjust for OF based clock lookup 2014-01-12 18:53:05 +01:00
indycam.c [media] indycam: remove g_chip_ident op 2013-06-17 08:49:47 -03:00
indycam.h
Kconfig [media] v4l: VIDEO_SH_VOU should depend on HAS_DMA 2014-03-11 09:22:48 -03:00
m2m-deinterlace.c [media] v4l: Copy timestamp source flags to destination on m2m devices 2014-03-05 16:47:15 -03:00
Makefile [media] omap24xx/tcm825x: move to staging for future removal 2013-12-20 13:45:22 -02:00
mem2mem_testdev.c [media] vb2: stop_streaming should return void 2014-04-23 10:12:51 -03:00
mx2_emmaprp.c [media] v4l: Copy timestamp source flags to destination on m2m devices 2014-03-05 16:47:15 -03:00
sh_veu.c sh_veu: Replace PTR_RET with PTR_ERR_OR_ZERO 2013-07-16 16:06:01 +09:30
sh_vou.c [media] sh_vou: comment unused vars 2014-01-13 11:30:26 -02:00
timblogiw.c Merge branch 'next' of git://git.infradead.org/users/vkoul/slave-dma 2013-11-20 13:20:24 -08:00
via-camera.c [media] via-camera: replace current_norm by g_std 2013-06-17 09:33:49 -03:00
via-camera.h
vino.c [media] v4l2: pass std by value to the write-only s_std ioctl 2013-03-24 06:47:00 -03:00
vino.h
vivi.c [media] vb2: stop_streaming should return void 2014-04-23 10:12:51 -03:00