mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2025-12-30 18:41:11 +00:00
kahlee: Don't hold pwrbtn=LOW in G3
Change chipset_force_shutdown() to not call power_button_pch_press() when called from POWER_S5G3 state, so that we don't set pwrbtn=LOW when entering G3. BUG=b:68760602 BRANCH=none TEST=push kahlee power button Change-Id: I931fc73f2386f8124f1e082cccb095e3863cbb99 Signed-off-by: Edward Hill <ecgh@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/752682 Reviewed-by: Aaron Durbin <adurbin@chromium.org>
This commit is contained in:
@@ -34,7 +34,7 @@ void chipset_force_shutdown(void)
|
||||
{
|
||||
CPRINTS("%s()", __func__);
|
||||
|
||||
if (!chipset_in_state(CHIPSET_STATE_HARD_OFF)) {
|
||||
if (!chipset_in_state(CHIPSET_STATE_ANY_OFF)) {
|
||||
forcing_shutdown = 1;
|
||||
power_button_pch_press();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user