summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--plat/marvell/a3700/common/plat_pm.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/plat/marvell/a3700/common/plat_pm.c b/plat/marvell/a3700/common/plat_pm.c
index 4d357390..b8d42fe7 100644
--- a/plat/marvell/a3700/common/plat_pm.c
+++ b/plat/marvell/a3700/common/plat_pm.c
@@ -596,18 +596,18 @@ void a3700_pwr_domain_suspend(const psci_power_state_t *target_state)
/* Prevent interrupts from spuriously waking up this cpu */
plat_marvell_gic_cpuif_disable();
- /* SoC can not be powered down with pending IRQ, acknowledge all the pending IRQ */
- a3700_pm_ack_irq();
-
- /* Set power off options */
- a3700_set_pwr_off_option();
-
/* Set wake up options */
a3700_set_wake_up_option();
/* Set wake up sources */
a3700_set_wake_up_source();
+ /* SoC can not be powered down with pending IRQ, acknowledge all the pending IRQ */
+ a3700_pm_ack_irq();
+
+ /* Set power off options */
+ a3700_set_pwr_off_option();
+
/* Save the flag for enter the low power mode */
a3700_pm_save_lp_flag();