Re: [PATCH] platform: chrome: Fix EC timestamp overflow

2020-07-01 Thread Enric Balletbo i Serra
Hi Gwendal, Thank you for your patch. On 30/6/20 9:52, Gwendal Grignou wrote: > 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 acoun either. > > Signed-off-by:

[PATCH] platform: chrome: Fix EC timestamp overflow

2020-06-30 Thread Gwendal Grignou
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 acoun either. Signed-off-by: Gwendal Grignou --- drivers/platform/chrome/cros_ec_sensorhub_ring.c | 4 +--- 1 file