diff options
author | Yicheng Li <yichengli@chromium.org> | 2019-10-08 17:31:56 -0700 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2019-10-12 11:43:38 +0000 |
commit | a6c2477aca71c0dd3aed21d34009aecf056a6f4a (patch) | |
tree | 934ddffe61c86bb25393cefc2db09e7a5fb2d569 /.checkpatch.conf | |
parent | 7912c0fdbec588732e52bea1bd315ff6d102a15f (diff) | |
download | chrome-ec-a6c2477aca71c0dd3aed21d34009aecf056a6f4a.tar.gz |
chip/stm32: Fix bug that LPTIM_PERIOD_US became unsigned long.
Due to a refactoring of bit shifts (BIT macro), LPTIM_PERIOD_US changed
from int to unsigned int, which in turn changed behavior of
set_lptim_event. This causes a watchdog reset during a long suspend. In
particular, this caused the stm32h7 FPMCU to reboot during long suspend
and fingerprint unlock to not work.
BUG=b:140538084
BRANCH=none
TEST=verified that FPMCU no longer reboots during deep sleep, fingerprint
unlock works after deep sleeping for a whole night.
Change-Id: If2ed9cb94aad4216012e28ffec530bc4ce858093
Signed-off-by: Yicheng Li <yichengli@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/1854785
Reviewed-by: Nicolas Norvez <norvez@chromium.org>
Diffstat (limited to '.checkpatch.conf')
0 files changed, 0 insertions, 0 deletions