diff --git a/plat/mediatek/mt8192/plat_pm.c b/plat/mediatek/mt8192/plat_pm.c index 3ea27b6c12c29957efd492b194f8f0e07819c956..1fcafeb4400bd2855166981b56e620f411d85b01 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 {