projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
16bf900
)
usb: gadget: uvc: Set the V4L2 buffer field to V4L2_FIELD_NONE
author
Laurent Pinchart
<laurent.pinchart@ideasonboard.com>
Sun, 23 Mar 2014 15:25:09 +0000
(16:25 +0100)
committer
Felipe Balbi
<balbi@ti.com>
Thu, 15 May 2014 16:07:52 +0000
(11:07 -0500)
The UVC gadget driver doesn't support interlaced video but left the
buffer field uninitialized. Set it to V4L2_FIELD_NONE.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Hans Verkuil <hans.verkuil@cisco.com>
Acked-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/gadget/uvc_queue.c
patch
|
blob
|
history
diff --git
a/drivers/usb/gadget/uvc_queue.c
b/drivers/usb/gadget/uvc_queue.c
index 9ac4ffe19014730ce5d43a7faea9f37a66301035..305eb491c919245b583ecb3c52c75ce43ac6939a 100644
(file)
--- a/
drivers/usb/gadget/uvc_queue.c
+++ b/
drivers/usb/gadget/uvc_queue.c
@@
-380,6
+380,7
@@
static struct uvc_buffer *uvc_queue_next_buffer(struct uvc_video_queue *queue,
else
nextbuf = NULL;
+ buf->buf.v4l2_buf.field = V4L2_FIELD_NONE;
buf->buf.v4l2_buf.sequence = queue->sequence++;
v4l2_get_timestamp(&buf->buf.v4l2_buf.timestamp);