diff options
author | Hans Verkuil <hverkuil-cisco@xs4all.nl> | 2019-01-21 14:32:24 +0100 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+samsung@kernel.org> | 2019-02-07 18:11:23 +0100 |
commit | cb7130ea67c4319bbf2d810f245ee6f89bbf6ae7 (patch) | |
tree | 17202cdf78537d203eb9a5dc43e62c6adada44c5 /drivers/media/pci/meye/meye.h | |
parent | media: videobuf: use u64 for the timestamp internally (diff) | |
download | linux-cb7130ea67c4319bbf2d810f245ee6f89bbf6ae7.tar.xz linux-cb7130ea67c4319bbf2d810f245ee6f89bbf6ae7.zip |
media: meye: 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>
Diffstat (limited to 'drivers/media/pci/meye/meye.h')
-rw-r--r-- | drivers/media/pci/meye/meye.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/pci/meye/meye.h b/drivers/media/pci/meye/meye.h index c4a8a5fe040c..0af868eb6210 100644 --- a/drivers/media/pci/meye/meye.h +++ b/drivers/media/pci/meye/meye.h @@ -277,7 +277,7 @@ struct meye_grab_buffer { int state; /* state of buffer */ unsigned long size; /* size of jpg frame */ - struct timeval timestamp; /* timestamp */ + u64 ts; /* timestamp */ unsigned long sequence; /* sequence number */ }; |