linux/drivers/media/usb/stk1160
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] stk1160: Build as a module if SND is m and audio support is selected 2013-08-01 14:55:25 -03:00
Makefile
stk1160-ac97.c [media] stk1160: warrant a NUL terminated string 2014-04-08 11:00:52 -03:00
stk1160-core.c [media] stk1160: Add support for S-Video input 2012-10-09 21:54:26 -03:00
stk1160-i2c.c [media] stk1160: Check return value of stk1160_read_reg() in stk1160_i2c_read_reg() 2012-10-28 16:41:54 -02:00
stk1160-reg.h
stk1160-v4l.c [media] vb2: stop_streaming should return void 2014-04-23 10:12:51 -03:00
stk1160-video.c [media] stk1160: Replace BUG_ON with WARN_ON 2013-01-01 10:04:40 -02:00
stk1160.h [media] stk1160: Try to continue with fewer transfer buffers 2012-11-21 12:04:22 -02:00