mirror of
https://github.com/torvalds/linux.git
synced 2024-11-08 05:01:48 +00:00
e37559b22c
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> |
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
philips.txt | ||
pwc-ctrl.c | ||
pwc-dec1.c | ||
pwc-dec1.h | ||
pwc-dec23.c | ||
pwc-dec23.h | ||
pwc-if.c | ||
pwc-kiara.c | ||
pwc-kiara.h | ||
pwc-misc.c | ||
pwc-nala.h | ||
pwc-timon.c | ||
pwc-timon.h | ||
pwc-uncompress.c | ||
pwc-v4l.c | ||
pwc.h |