]> asedeno.scripts.mit.edu Git - linux.git/commit
media: cpia2: use u64 for the timestamp internally
authorHans Verkuil <hverkuil-cisco@xs4all.nl>
Mon, 21 Jan 2019 13:32:25 +0000 (08:32 -0500)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Thu, 7 Feb 2019 17:12:43 +0000 (12:12 -0500)
commit597f8e9c13644e4fcf4c1d01c2317c78b2e2df92
tree65bc70b1d4ea12dea892f0a0950564cc9a93a093
parentcb7130ea67c4319bbf2d810f245ee6f89bbf6ae7
media: cpia2: use u64 for the timestamp internally

Just like vb2 does, use u64 internally to store the timestamps
of the buffers. Only convert to timeval when interfacing with
userspace.

Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Acked-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
drivers/media/usb/cpia2/cpia2.h
drivers/media/usb/cpia2/cpia2_usb.c
drivers/media/usb/cpia2/cpia2_v4l.c