On 03/28/2014 05:02 PM, Laurent Pinchart wrote: > 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@xxxxxxxxxxxxxxxx> Reviewed-by: Hans Verkuil <hans.verkuil@xxxxxxxxx> Regards, Hans > --- > drivers/usb/gadget/uvc_queue.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/usb/gadget/uvc_queue.c b/drivers/usb/gadget/uvc_queue.c > index 9ac4ffe1..305eb49 100644 > --- 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); > > -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html