Files
OpenCellular/power
Ben Lok 64a812d4b7 oak: cancel long press timer when lost power_good or entering S3
1. refer to commit 8bd44bf4, oak has similar issue:
   if power good is lost and the power button still press, we need
   cancel the long press timer, otherwise EC will crash.
2. Furthermore, EC will crash too if long press timer is still active
   during entering S3.
3. The debounce of suspend & power_good signal can be removed on rev4
   because rev4 doesn't adopt level shifter.

BRANCH=None
BUG=chrome-os-partner:46857
TEST=Manual
1. press power button during coreboot, and it can shutdown normally, or
2. run test case:
   > test_that -b oak <DUT IP> firmware_FwScreenPressPower

Change-Id: I584d8beeb31b6c01289bfe4790453a4a3bd35b1c
Signed-off-by: Ben Lok <ben.lok@mediatek.com>
Reviewed-on: https://chromium-review.googlesource.com/309942
Reviewed-by: Rong Chang <rongchang@chromium.org>
2015-11-04 07:08:49 -08:00
..
2015-06-10 18:24:05 +00:00
2014-05-21 20:32:17 +00:00
2015-06-26 20:17:45 +00:00