OpenCloudOS-Kernel/drivers/media/platform/s5p-tv
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
..
Kconfig platform: Check for ARCH_EXYNOS separately 2013-06-19 01:25:44 +09:00
Makefile [media] rename drivers/media/video as .../platform 2012-08-15 16:43:09 -03:00
hdmi_drv.c [media] s5p-tv: Include missing v4l2-dv-timings.h header file 2013-08-24 04:53:37 -03:00
hdmiphy_drv.c [media] s5p-tv: remove the dv_preset API from hdmiphy 2013-03-23 11:00:52 -03:00
mixer.h [media] media_tree: Fix spelling errors 2013-11-29 14:43:50 -02:00
mixer_drv.c [media] s5p-tv: mixer: Prepare for common clock framework 2013-12-04 15:50:16 -02:00
mixer_grp_layer.c [media] media: Remove unnecessary semicolons 2013-10-17 05:51:57 -03:00
mixer_reg.c [media] s5p-tv: Add missing braces around sizeof in mixer_reg.c 2013-01-06 09:36:33 -02:00
mixer_video.c [media] vb2: stop_streaming should return void 2014-04-23 10:12:51 -03:00
mixer_vp_layer.c [media] media: Remove unnecessary semicolons 2013-10-17 05:51:57 -03:00
regs-hdmi.h [media] rename drivers/media/video as .../platform 2012-08-15 16:43:09 -03:00
regs-mixer.h [media] rename drivers/media/video as .../platform 2012-08-15 16:43:09 -03:00
regs-sdo.h [media] rename drivers/media/video as .../platform 2012-08-15 16:43:09 -03:00
regs-vp.h [media] rename drivers/media/video as .../platform 2012-08-15 16:43:09 -03:00
sdo_drv.c [media] s5p-tv: sdo: Prepare for common clock framework 2013-12-04 15:48:08 -02:00
sii9234_drv.c [media] s5p-tv: Don't ignore return value of regulator_enable() in sii9234_drv.c 2013-06-12 22:17:34 -03:00