diff options
Diffstat (limited to 'power/qcom.c')
-rw-r--r-- | power/qcom.c | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/power/qcom.c b/power/qcom.c index faa6b4c703..edb3230490 100644 --- a/power/qcom.c +++ b/power/qcom.c @@ -621,13 +621,14 @@ static void power_off_seq(void) set_pmic_pwron(0); usleep(PMIC_POWER_OFF_DELAY); - /* - * Disable signal interrupts, as they are floating when - * switchcap off. - */ - power_signal_disable_interrupt(GPIO_AP_RST_L); } + /* + * Disable signal interrupts, as they are floating when + * switchcap off. + */ + power_signal_disable_interrupt(GPIO_AP_RST_L); + /* Check the switchcap status */ if (is_system_powered()) { /* Force to switch off all rails */ |