Hi Michael,

Thank you for the patch.

On Wednesday 28 May 2014 09:38:08 Michael Grzeschik wrote:
> From: Michael Grzeschik <[email protected]>
> 
> Since the introduction of the timestamp_type field, it is necessary that
> the driver chooses which type it will use. This patch adds support for
> the timestamp_type.
> 
> Signed-off-by: Michael Grzeschik <[email protected]>

I already have a similar patch in my tree that additionally sets the 
V4L2_BUF_FLAG_TSTAMP_SRC_EOF flag. I'll push it to v3.17.
> ---
>  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 698c385..2ed1d52 100644
> --- a/drivers/usb/gadget/uvc_queue.c
> +++ b/drivers/usb/gadget/uvc_queue.c
> @@ -136,6 +136,7 @@ static int uvc_queue_init(struct uvc_video_queue *queue,
> queue->queue.buf_struct_size = sizeof(struct uvc_buffer);
>       queue->queue.ops = &uvc_queue_qops;
>       queue->queue.mem_ops = &vb2_vmalloc_memops;
> +     queue->queue.timestamp_type = V4L2_BUF_FLAG_TIMESTAMP_MONOTONIC;
>       ret = vb2_queue_init(&queue->queue);
>       if (ret)
>               return ret;

-- 
Regards,

Laurent Pinchart

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to