mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-05-08 18:41:22 +00:00
psci: Use bool in internal interfaces
Change-Id: I77c9cd2d1d6d0122cc49917fa686014bee154589 Signed-off-by: Antonio Nino Diaz <antonio.ninodiaz@arm.com>
This commit is contained in:
parent
5b395e3746
commit
362030bf06
2 changed files with 5 additions and 4 deletions
|
@ -82,7 +82,7 @@ int psci_cpu_suspend(unsigned int power_state,
|
|||
}
|
||||
|
||||
/* Fast path for CPU standby.*/
|
||||
if (is_cpu_standby_req(is_power_down_state, target_pwrlvl) != 0) {
|
||||
if (is_cpu_standby_req(is_power_down_state, target_pwrlvl)) {
|
||||
if (psci_plat_pm_ops->cpu_standby == NULL)
|
||||
return PSCI_E_INVALID_PARAMS;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue