linux/drivers/media/platform/davinci
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
..
ccdc_hw_device.h
dm355_ccdc.c [media] media: davinci: vpss: enable vpss clocks 2013-04-14 20:08:09 -03:00
dm355_ccdc_regs.h [media] davinci: more gama -> gamma typo fixes 2013-03-19 16:16:23 -03:00
dm644x_ccdc.c [media] media: davinci: vpss: enable vpss clocks 2013-04-14 20:08:09 -03:00
dm644x_ccdc_regs.h [media] davinci/dm644x_ccdc: fix compiler warning 2013-03-19 16:16:04 -03:00
isif.c [media] media: davinci: vpss: enable vpss clocks 2013-04-14 20:08:09 -03:00
isif_regs.h [media] davinci: more gama -> gamma typo fixes 2013-03-19 16:16:23 -03:00
Kconfig [media] media: davinci: kconfig: fix incorrect selects 2013-04-14 20:06:36 -03:00
Makefile [media] media: davinci: kconfig: fix incorrect selects 2013-04-14 20:06:36 -03:00
vpbe.c [media] v4l2: pass std by value to the write-only s_std ioctl 2013-03-24 06:47:00 -03:00
vpbe_display.c [media] vb2: stop_streaming should return void 2014-04-23 10:12:51 -03:00
vpbe_osd.c [media] media: davinci: vpbe_osd: convert to devm_* api 2013-07-26 13:18:45 -03:00
vpbe_osd_regs.h
vpbe_venc.c [media] media: davinci: vpbe_venc: convert to devm_* api 2013-07-26 13:18:22 -03:00
vpbe_venc_regs.h
vpfe_capture.c [media] media: davinci: vpfe: use v4l2_fh for priority handling 2014-04-16 18:24:15 -03:00
vpif.c [media] media: davinci: vpif: remove unnecessary braces around defines 2013-06-21 11:25:33 -03:00
vpif.h [media] davinci: vpif: Fix module build for capture and display 2013-03-23 10:38:10 -03:00
vpif_capture.c [media] vb2: stop_streaming should return void 2014-04-23 10:12:51 -03:00
vpif_capture.h [media] media: davinci: vpif: capture: add V4L2-async support 2013-07-26 13:16:37 -03:00
vpif_display.c [media] vb2: stop_streaming should return void 2014-04-23 10:12:51 -03:00
vpif_display.h [media] media: davinci: vpif: display: add V4L2-async support 2013-07-26 13:17:15 -03:00
vpss.c [media] media: davinci: vpss: convert to devm* api 2013-07-26 13:19:22 -03:00