diff --git a/plat/mediatek/mt8192/plat_pm.c b/plat/mediatek/mt8192/plat_pm.c index 3ea27b6c1..1fcafeb44 100644 --- a/plat/mediatek/mt8192/plat_pm.c +++ b/plat/mediatek/mt8192/plat_pm.c @@ -297,10 +297,6 @@ static int plat_validate_power_state(unsigned int power_state, unsigned int aff_lvl = psci_get_pstate_pwrlvl(power_state); unsigned int cpu = plat_my_core_pos(); - if (aff_lvl > PLAT_MAX_PWR_LVL) { - return PSCI_E_INVALID_PARAMS; - } - if (pstate == PSTATE_TYPE_STANDBY) { req_state->pwr_domain_state[0] = PLAT_MAX_RET_STATE; } else {