Tegra210: set core power state during cluster power down
authorVarun Wadekar <vwadekar@nvidia.com>
Thu, 1 Sep 2016 21:56:17 +0000 (14:56 -0700)
committerVarun Wadekar <vwadekar@nvidia.com>
Thu, 2 Mar 2017 21:01:47 +0000 (13:01 -0800)
This patch sets the core power state during cluster power down,
so that the 'get_target_pwr_state' handler can calculate the
proper states for all the affinity levels.

Change-Id: If4adb001011208916427ee1623c6c923bed99985
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
plat/nvidia/tegra/soc/t210/plat_psci_handlers.c

index 95fb93fe00efa991e37ecc5289e9e52885550a36..26bf235e76e377c2cc529cfe63509a2a7575c360 100644 (file)
@@ -76,7 +76,7 @@ int32_t tegra_soc_validate_power_state(unsigned int power_state,
                 * Cluster powerdown/idle request only for afflvl 1
                 */
                req_state->pwr_domain_state[MPIDR_AFFLVL1] = state_id;
-               req_state->pwr_domain_state[MPIDR_AFFLVL0] = PLAT_MAX_OFF_STATE;
+               req_state->pwr_domain_state[MPIDR_AFFLVL0] = state_id;
 
                break;