alistair23-linux/drivers/media/usb
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
..
au0828 [media] au0828: fix i2c clock speed for DViCO FusionHDTV7 2014-03-11 12:14:39 -03:00
b2c2
cpia2
cx231xx Merge branch 'v4l_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media 2014-04-04 09:50:07 -07:00
dvb-usb [media] rc: abstract access to allowed/enabled protocols 2014-03-11 13:24:39 -03:00
dvb-usb-v2 [media] rtl28xxu: silence error log about disabled rtl2832_sdr module 2014-04-15 09:49:12 -03:00
em28xx [media] vb2: stop_streaming should return void 2014-04-23 10:12:51 -03:00
gspca [media] media:gspca:dtcs033 Clean sparse check warnings on endianess 2014-04-23 10:07:52 -03:00
hdpvr
pvrusb2
pwc [media] vb2: stop_streaming should return void 2014-04-23 10:12:51 -03:00
s2255 [media] vb2: stop_streaming should return void 2014-04-23 10:12:51 -03:00
siano [media] Siano: smsusb - Add a device id for PX-S1UD 2014-03-11 12:12:53 -03:00
stk1160 [media] vb2: stop_streaming should return void 2014-04-23 10:12:51 -03:00
stkwebcam
tlg2300
tm6000 Merge branch 'v4l_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media 2014-04-04 09:50:07 -07:00
ttusb-budget
ttusb-dec
usbtv [media] vb2: stop_streaming should return void 2014-04-23 10:12:51 -03:00
usbvision
uvc [media] vb2: call buf_finish from __queue_cancel 2014-03-11 06:56:39 -03:00
zr364xx
Kconfig
Makefile