diff options
author | Gwendal Grignou <gwendal@chromium.org> | 2020-06-30 10:52:03 +0300 |
---|---|---|
committer | Enric Balletbo i Serra <enric.balletbo@collabora.com> | 2020-06-30 17:35:22 +0300 |
commit | e48bc01ed5adec203676c735365373b31c3c7600 (patch) | |
tree | 61f47499950cd552a514ea7a4ed53c863f241780 /net | |
parent | 20b736872f7f324438649a277ec711a646ce8e8d (diff) | |
download | linux-e48bc01ed5adec203676c735365373b31c3c7600.tar.xz |
platform/chrome: cros_ec_sensorhub: Fix EC timestamp overflow
EC is using 32 bit timestamps (us), and before converting it to 64bit
they were not casted, so it would overflow every 4s.
Regular overflow every ~70 minutes was not taken into account either.
Signed-off-by: Gwendal Grignou <gwendal@chromium.org>
Signed-off-by: Enric Balletbo i Serra <enric.balletbo@collabora.com>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions