diff --git a/lib/psci/psci_common.c b/lib/psci/psci_common.c index 022c877..55a0d87 100644 --- a/lib/psci/psci_common.c +++ b/lib/psci/psci_common.c @@ -192,6 +192,7 @@ pwrlvl = psci_get_suspend_pwrlvl(); if (pwrlvl == PSCI_INVALID_PWR_LVL) pwrlvl = PLAT_MAX_PWR_LVL; + assert(pwrlvl < PSCI_INVALID_PWR_LVL); return pwrlvl; }