summaryrefslogtreecommitdiffstats
path: root/drivers/media/usb/stkwebcam/stk-webcam.c
diff options
context:
space:
mode:
authorSakari Ailus2012-09-15 12:51:47 +0200
committerMauro Carvalho Chehab2012-12-21 13:53:43 +0100
commitabd23295648a9e3ae72a806e70a510d3dcd8b374 (patch)
treeee7c891cca5336c934c55daa6ddfcbca52e7729a /drivers/media/usb/stkwebcam/stk-webcam.c
parent[media] v4l: Define video buffer flags for timestamp types (diff)
downloadkernel-qcow2-linux-abd23295648a9e3ae72a806e70a510d3dcd8b374.tar.gz
kernel-qcow2-linux-abd23295648a9e3ae72a806e70a510d3dcd8b374.tar.xz
kernel-qcow2-linux-abd23295648a9e3ae72a806e70a510d3dcd8b374.zip
[media] v4l: Helper function for obtaining timestamps
v4l2_get_timestamp() produces a monotonic timestamp but unlike ktime_get_ts(), it uses struct timeval instead of struct timespec, saving the drivers the conversion job when getting timestamps for v4l2_buffer's timestamp field. Signed-off-by: Sakari Ailus <sakari.ailus@iki.fi> Acked-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/usb/stkwebcam/stk-webcam.c')
0 files changed, 0 insertions, 0 deletions