linux_dsm_epyc7002/drivers/media/usb/uvc
Hans Verkuil 9c0863b1cc [media] vb2: call buf_finish from __queue_cancel
If a queue was canceled, then the buf_finish op was never called for the
pending buffers. So add this call to queue_cancel. Before calling buf_finish
set the buffer state to PREPARED, which is the correct state. That way the
states DONE and ERROR will only be seen in buf_finish if streaming is in
progress.

Since buf_finish can now be called from non-streaming state we need to
adapt the handful of drivers that actually need to know this.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Acked-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
2014-03-11 06:56:39 -03:00
..
Kconfig [media] uvc: Depend on VIDEO_V4L2 2013-06-24 22:54:40 -03:00
Makefile [media] rename most media/video usb drivers to media/usb 2012-08-15 16:25:07 -03:00
uvc_ctrl.c [media] uvcvideo: Fix data type for pan/tilt control 2013-10-17 06:55:29 -03:00
uvc_debugfs.c [media] rename most media/video usb drivers to media/usb 2012-08-15 16:25:07 -03:00
uvc_driver.c [media] uvcvideo: Add bayer 8-bit patterns to uvcvideo 2014-03-05 16:58:21 -03:00
uvc_entity.c [media] uvcvideo: Mark first output terminal as default video node 2012-11-28 10:30:00 -02:00
uvc_isight.c [media] rename most media/video usb drivers to media/usb 2012-08-15 16:25:07 -03:00
uvc_queue.c [media] vb2: call buf_finish from __queue_cancel 2014-03-11 06:56:39 -03:00
uvc_status.c [media] uvcvideo: Fix open/close race condition 2013-06-08 19:51:16 -03:00
uvc_v4l2.c [media] uvcvideo: Enable VIDIOC_CREATE_BUFS 2014-02-28 13:24:32 -03:00
uvc_video.c [media] uvcvideo: Do not use usb_set_interface on bulk EP 2014-03-05 16:57:46 -03:00
uvcvideo.h [media] uvcvideo: Add bayer 8-bit patterns to uvcvideo 2014-03-05 16:58:21 -03:00