diff options
author | Hans Verkuil <hverkuil-cisco@xs4all.nl> | 2019-01-21 16:32:22 +0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+samsung@kernel.org> | 2019-02-07 20:11:15 +0300 |
commit | 63635b54e07f646aa1d8e54c96b099162a226f7d (patch) | |
tree | 1cf4e238dd9cbe6c2e49df799acb53d2707b98eb /drivers/media/common/saa7146 | |
parent | 81a43d10b8ed0e165bbd1e134ca7261a9608f389 (diff) | |
download | linux-63635b54e07f646aa1d8e54c96b099162a226f7d.tar.xz |
media: v4l2-event: keep track of the timestamp in ns
Internally use ktime_get_ns() to get the timestamp of the event.
Only convert to timespec 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>
Diffstat (limited to 'drivers/media/common/saa7146')
0 files changed, 0 insertions, 0 deletions