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 | |
| parent | media: staging: atomisp: fixes for "symbol was not declared. Should it be sta... (diff) | |
| download | linux-456e7b1804f762e406297a663e43b2c14e386e75.tar.gz linux-456e7b1804f762e406297a663e43b2c14e386e75.zip | |
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')
0 files changed, 0 insertions, 0 deletions
