OpenCloudOS-Kernel/drivers/media/usb/em28xx
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 [media] em28xx: add [2013:025f] PCTV tripleStick (292e) 2014-04-23 09:51:31 -03:00
Makefile [media] em28xx: make em28xx-video to be a separate module 2014-01-07 05:09:26 -02:00
em28xx-audio.c 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
em28xx-camera.c [media] em28xx-camera: fix return value checks on sensor probing 2014-02-04 16:40:43 -02:00
em28xx-cards.c [media] em28xx: add [2013:025f] PCTV tripleStick (292e) 2014-04-23 09:51:31 -03:00
em28xx-core.c [media] em28xx: add support for DVB monitor led 2014-03-04 14:44:09 -03:00
em28xx-dvb.c [media] em28xx: PCTV tripleStick (292e) LNA support 2014-04-23 09:56:20 -03:00
em28xx-i2c.c [media] em28xx-i2c: fix the error code for unknown errors 2014-02-04 16:43:05 -02:00
em28xx-input.c [media] rc: abstract access to allowed/enabled protocols 2014-03-11 13:24:39 -03:00
em28xx-reg.h [media] em28xx: fix I2S audio sample rate definitions and info output 2014-01-07 08:33:29 -02:00
em28xx-v4l.h [media] vb2: stop_streaming should return void 2014-04-23 10:12:51 -03:00
em28xx-vbi.c [media] em28xx: make em28xx-video to be a separate module 2014-01-07 05:09:26 -02:00
em28xx-video.c [media] vb2: stop_streaming should return void 2014-04-23 10:12:51 -03:00
em28xx.h [media] em28xx: add [2013:025f] PCTV tripleStick (292e) 2014-04-23 09:51:31 -03:00