upstream: [media] uvcvideo: Tell the user space we're using start-of-exposure timestamps
authorSakari Ailus <sakari.ailus@iki.fi>
Mon, 10 Feb 2014 22:26:44 +0000 (19:26 -0300)
committerChanho Park <chanho61.park@samsung.com>
Thu, 7 Aug 2014 05:26:31 +0000 (14:26 +0900)
commite4e81c0dc33e4861a00d724506e56cabac8b2f82
tree73017a984793e9a295ff51673da83d43ed7befad
parentd761961f3ae1202a92048b8fb569daaa621d3904
upstream: [media] uvcvideo: Tell the user space we're using start-of-exposure timestamps

The UVC device provided timestamps are taken from the clock once the
exposure of the frame has begun, not when the reception of the frame would
have been finished as almost anywhere else. Show this to the user space by
using V4L2_BUF_FLAG_TSTAMP_SRC_SOE buffer flag.

Signed-off-by: Sakari Ailus <sakari.ailus@iki.fi>
Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/media/usb/uvc/uvc_queue.c