linux/drivers/staging/media
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
..
as102 staging: as102: as10x_handle.h .Fix Unnecessary space after function pointer name 2014-03-19 13:41:27 -07:00
bcm2048 [media] fix coccinelle warnings 2014-01-07 08:01:11 -02:00
cxd2099 Staging: media/cxd2099: Fix line length over 80 characters 2014-03-07 13:14:14 -08:00
davinci_vpfe [media] vb2: stop_streaming should return void 2014-04-23 10:12:51 -03:00
dt3155v4l [media] vb2: stop_streaming should return void 2014-04-23 10:12:51 -03:00
go7007 [media] vb2: stop_streaming should return void 2014-04-23 10:12:51 -03:00
lirc Staging: lirc: Fix warning: assignment of bool to 0/1 2014-03-18 12:19:32 -07:00
msi3101 [media] vb2: stop_streaming should return void 2014-04-23 10:12:51 -03:00
omap4iss [media] v4l: Rename vb2_queue.timestamp_type as timestamp_flags 2014-03-05 16:34:14 -03:00
omap24xx [media] staging: omap24xx: fix coding style 2014-04-16 18:21:19 -03:00
rtl2832u_sdr [media] vb2: stop_streaming should return void 2014-04-23 10:12:51 -03:00
sn9c102 [media] sn9c102_hv7131r: fix style warnings flagged by checkpatch.pl 2014-04-16 18:25:27 -03:00
solo6x10 [media] vb2: stop_streaming should return void 2014-04-23 10:12:51 -03:00
Kconfig [media] rtl2832_sdr: Realtek RTL2832 SDR driver module 2014-03-14 05:32:05 -03:00
Makefile [media] rtl2832_sdr: Realtek RTL2832 SDR driver module 2014-03-14 05:32:05 -03:00