diff options
author | Yilun Lin <yllin@google.com> | 2018-10-04 10:00:26 +0800 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2018-10-04 00:37:14 -0700 |
commit | 66092b0b1e9b1ac28e4a37a22eeec9989892135f (patch) | |
tree | 287282d9fee77a2e7fb25ea96ae8d9bc09240d47 /power | |
parent | 9ef91389ca20f0dc50c2ab0d6d231ec6feb2802b (diff) | |
download | chrome-ec-66092b0b1e9b1ac28e4a37a22eeec9989892135f.tar.gz |
mt8183: Hold power button 10s for hard shutdown.
Hard shutdown rules for tablet is 10 sec. go/crosdebug
TEST=press pwr btn for 10s, and see chipset_force_shutdown in console
BUG=b:117243957
BRANCH=None
Change-Id: I44fed345f71b503a0d502c5566f4fcba54f80fb9
Signed-off-by: Yilun Lin <yllin@google.com>
Reviewed-on: https://chromium-review.googlesource.com/1260722
Commit-Ready: Yilun Lin <yllin@chromium.org>
Tested-by: Yilun Lin <yllin@chromium.org>
Reviewed-by: Tony Lin <tonycwlin@google.com>
Reviewed-by: Nicolas Boichat <drinkcat@chromium.org>
Diffstat (limited to 'power')
-rw-r--r-- | power/mt8183.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/power/mt8183.c b/power/mt8183.c index b3416c0a70..a268181c1e 100644 --- a/power/mt8183.c +++ b/power/mt8183.c @@ -35,8 +35,8 @@ /* All inputs in the right state for S0 */ #define IN_ALL_S0 (IN_PGOOD_S0 | IN_SUSPEND_DEASSERTED) -/* Long power key press to force shutdown in S0 */ -#define FORCED_SHUTDOWN_DELAY (8 * SECOND) +/* Long power key press to force shutdown in S0. go/crosdebug */ +#define FORCED_SHUTDOWN_DELAY (10 * SECOND) #define CHARGER_INITIALIZED_DELAY_MS 100 #define CHARGER_INITIALIZED_TRIES 40 |