commit | 63635b54e07f646aa1d8e54c96b099162a226f7d | [log] [tgz] |
---|---|---|
author | Hans Verkuil <hverkuil-cisco@xs4all.nl> | Mon Jan 21 08:32:22 2019 -0500 |
committer | Mauro Carvalho Chehab <mchehab+samsung@kernel.org> | Thu Feb 07 12:11:15 2019 -0500 |
tree | 1cf4e238dd9cbe6c2e49df799acb53d2707b98eb | |
parent | 81a43d10b8ed0e165bbd1e134ca7261a9608f389 [diff] |
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>