diff options
author | Jett Rink <jettrink@chromium.org> | 2019-06-13 13:27:38 -0600 |
---|---|---|
committer | Chromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com> | 2022-05-17 01:27:03 +0000 |
commit | a565f57e9e949f64ea25cc1188143db7f3d41bcc (patch) | |
tree | 5d0a810ae9949f5c309a34fcf89d9036d0e31de6 /board/rowan | |
parent | caa71d4462de86452fddc75bd3416b740af9353c (diff) | |
download | chrome-ec-a565f57e9e949f64ea25cc1188143db7f3d41bcc.tar.gz |
motionsense: prevent loop after missing events
We don't need to loop to figure out when to schedule the next sensor
collection event, just schedule it as soon as possible. This eliminates
a watchdog reset when we miss scheduling the sensor task and get really
far behind.
BRANCH=none
BUG=b:133190570
TEST=normal operation is fine, based on longs of failing results in bug,
this should prevent the watch reset.
Change-Id: I3001028ba393b51d1958f0136ba040eaee5e52d1
Signed-off-by: Jett Rink <jettrink@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/1658521
Reviewed-by: Yuval Peress <peress@chromium.org>
Reviewed-by: Jack Rosenthal <jrosenth@chromium.org>
(cherry picked from commit 8374923a60c8b63b7bb2c1823e4f5b6078544e44)
Signed-off-by: Gwendal Grignou <gwendal@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3508416
Reviewed-by: Yuval Peress <peress@google.com>
Diffstat (limited to 'board/rowan')
0 files changed, 0 insertions, 0 deletions