diff options
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 64868778b0..7e8d5ba57b 100644 --- a/power/mt8183.c +++ b/power/mt8183.c @@ -200,9 +200,9 @@ enum power_state power_handle_state(enum power_state state) /* If PMIC is off, switch it on by pulsing PMIC enable. */ if (!power_has_signals(IN_PGOOD_PMIC)) { - gpio_set_level(GPIO_PMIC_EN_ODL, 1); - msleep(PMIC_EN_PULSE_MS); gpio_set_level(GPIO_PMIC_EN_ODL, 0); + msleep(PMIC_EN_PULSE_MS); + gpio_set_level(GPIO_PMIC_EN_ODL, 1); } /* If EC is in RW, reboot to RO. */ |