Commit 27607f1
Josh Tsai
Revert "Clear the wake source flag to avoid the wrong pwoer state"
This reverts commit 4d24126.
EC code doesn't return the POWER_G3 state, so when we forcing_shutdown
and the flag is cleared early, it need to wait 10s down to S5G3 state.
If users press the power button, system won't power on and LED turn on,
it will cause the users confuse.
So we need to seprate the custom_forcing from common forcing_shutdown,
to keep pch power and avoid impact by common forcing_shutdwon.
Signed-off-by: Josh Tsai <josh_tsai@compal.corp-partner.google.com>1 parent 4d24126 commit 27607f1
1 file changed
+6
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
| 39 | + | |
39 | 40 | | |
40 | 41 | | |
41 | 42 | | |
| |||
75 | 76 | | |
76 | 77 | | |
77 | 78 | | |
| 79 | + | |
78 | 80 | | |
79 | | - | |
80 | | - | |
81 | | - | |
82 | 81 | | |
83 | 82 | | |
84 | 83 | | |
| |||
114 | 113 | | |
115 | 114 | | |
116 | 115 | | |
117 | | - | |
| 116 | + | |
| 117 | + | |
118 | 118 | | |
| 119 | + | |
119 | 120 | | |
120 | 121 | | |
121 | 122 | | |
| |||
397 | 398 | | |
398 | 399 | | |
399 | 400 | | |
400 | | - | |
| 401 | + | |
401 | 402 | | |
402 | | - | |
403 | 403 | | |
404 | | - | |
405 | 404 | | |
406 | 405 | | |
407 | 406 | | |
| |||
0 commit comments