Message ID | 1523430267-29032-1-git-send-email-john.stultz@linaro.org |
---|---|
State | New |
Headers | show |
Series | mini horizontal-offset fix | expand |
diff --git a/lib/psci/psci_suspend.c b/lib/psci/psci_suspend.c index 40ecdee..726b548 100644 --- a/lib/psci/psci_suspend.c +++ b/lib/psci/psci_suspend.c @@ -147,6 +147,8 @@ void psci_cpu_suspend_start(entry_point_info_t *ep, int skip_wfi = 0; unsigned int idx = plat_my_core_pos(); + if (is_power_down_state) + return; /* * This function must only be called on platforms where the * CPU_SUSPEND platform hooks have been implemented.