mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2026-01-11 02:15:14 +00:00
Merge pull request #1087 from robertovargas-arm/psci_do_cpu_off
Reduce time lock in psci_do_cpu_off
This commit is contained in:
@@ -49,6 +49,9 @@ int psci_do_cpu_off(unsigned int end_pwrlvl)
|
||||
*/
|
||||
assert(psci_plat_pm_ops->pwr_domain_off);
|
||||
|
||||
/* Construct the psci_power_state for CPU_OFF */
|
||||
psci_set_power_off_state(&state_info);
|
||||
|
||||
/*
|
||||
* This function acquires the lock corresponding to each power
|
||||
* level so that by the time all locks are taken, the system topology
|
||||
@@ -68,9 +71,6 @@ int psci_do_cpu_off(unsigned int end_pwrlvl)
|
||||
goto exit;
|
||||
}
|
||||
|
||||
/* Construct the psci_power_state for CPU_OFF */
|
||||
psci_set_power_off_state(&state_info);
|
||||
|
||||
/*
|
||||
* This function is passed the requested state info and
|
||||
* it returns the negotiated state info for each power level upto
|
||||
|
||||
Reference in New Issue
Block a user