diff options
author | Arnd Bergmann <arnd@arndb.de> | 2017-11-27 10:21:41 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2017-12-29 06:21:02 -0500 |
commit | 456e7b1804f762e406297a663e43b2c14e386e75 (patch) | |
tree | e51bb17205e016dec830b540f87911d02b710b37 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | ea90b171165536d5e17e1c1e5490e60885763f81 (diff) |
media: staging: atomisp: convert timestamps to ktime_t
timespec overflows in 2038 on 32-bit architectures, and the
getnstimeofday() suffers from possible time jumps, so the
timestamps here are better done using ktime_get(), which has
neither of those problems.
In case of ov2680, we don't seem to use the timestamp at
all, so I just remove it.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions