linux/drivers/media/platform/soc_camera
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
..
atmel-isi.c [media] vb2: stop_streaming should return void 2014-04-23 10:12:51 -03:00
Kconfig [media] V4L2: soc_camera: Renesas R-Car VIN driver 2013-08-18 09:01:10 -03:00
Makefile [media] V4L2: soc_camera: Renesas R-Car VIN driver 2013-08-18 09:01:10 -03:00
mx1_camera.c [media] mx1-camera: move interface activation and deactivation to clock callbacks 2013-06-21 15:45:20 -03:00
mx2_camera.c [media] vb2: stop_streaming should return void 2014-04-23 10:12:51 -03:00
mx3_camera.c [media] vb2: stop_streaming should return void 2014-04-23 10:12:51 -03:00
omap1_camera.c [media] media_tree: Fix spelling errors 2013-11-29 14:43:50 -02:00
pxa_camera.c [media] pxa-camera: move interface activation and deactivation to clock callbacks 2013-06-21 15:36:21 -03:00
rcar_vin.c [media] vb2: stop_streaming should return void 2014-04-23 10:12:51 -03:00
sh_mobile_ceu_camera.c [media] vb2: stop_streaming should return void 2014-04-23 10:12:51 -03:00
sh_mobile_csi2.c [media] sh_mobile_ceu_camera: add asynchronous subdevice probing support 2013-06-21 16:35:53 -03:00
soc_camera.c [media] V4L2: soc-camera: work around unbalanced calls to .s_power() 2013-10-31 04:38:40 -02:00
soc_camera_platform.c [media] soc-camera: switch I2C subdevice drivers to use v4l2-clk 2013-06-21 16:32:36 -03:00
soc_mediabus.c [media] soc-camera: fix typos in the default format-conversion table 2013-04-14 20:15:43 -03:00
soc_scale_crop.c [media] videodev2: Set vb2_rect's width and height as unsigned 2014-01-07 08:02:39 -02:00
soc_scale_crop.h [media] V4L2: soc-camera: move generic functions into a separate file 2013-06-28 15:03:16 -03:00