aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/usb/uvc/uvcvideo.h
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2014-10-21 15:07:15 -0400
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>2014-11-25 05:40:37 -0500
commit3f02de275e5c4374ffeba554c7b9fa85ea13ecc5 (patch)
tree744860903ad98d498b3713c8bee5e39b3988c4f0 /drivers/media/usb/uvc/uvcvideo.h
parenta11a03e50b73234444f7d439fb8ee6eaec3cffd1 (diff)
[media] uvcvideo: Don't stop the stream twice at file handle release
When releasing the file handle the driver calls the vb2_queue_release which turns the stream off. There's thus no need to turn the stream off explicitly beforehand. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'drivers/media/usb/uvc/uvcvideo.h')
-rw-r--r--drivers/media/usb/uvc/uvcvideo.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/usb/uvc/uvcvideo.h b/drivers/media/usb/uvc/uvcvideo.h
index 53db7ed1e472..344aedec9dfb 100644
--- a/drivers/media/usb/uvc/uvcvideo.h
+++ b/drivers/media/usb/uvc/uvcvideo.h
@@ -623,9 +623,9 @@ extern struct uvc_entity *uvc_entity_by_id(struct uvc_device *dev, int id);
623/* Video buffers queue management. */ 623/* Video buffers queue management. */
624extern int uvc_queue_init(struct uvc_video_queue *queue, 624extern int uvc_queue_init(struct uvc_video_queue *queue,
625 enum v4l2_buf_type type, int drop_corrupted); 625 enum v4l2_buf_type type, int drop_corrupted);
626extern void uvc_queue_release(struct uvc_video_queue *queue);
626extern int uvc_alloc_buffers(struct uvc_video_queue *queue, 627extern int uvc_alloc_buffers(struct uvc_video_queue *queue,
627 struct v4l2_requestbuffers *rb); 628 struct v4l2_requestbuffers *rb);
628extern void uvc_free_buffers(struct uvc_video_queue *queue);
629extern int uvc_query_buffer(struct uvc_video_queue *queue, 629extern int uvc_query_buffer(struct uvc_video_queue *queue,
630 struct v4l2_buffer *v4l2_buf); 630 struct v4l2_buffer *v4l2_buf);
631extern int uvc_create_buffers(struct uvc_video_queue *queue, 631extern int uvc_create_buffers(struct uvc_video_queue *queue,