Tegra186: calculate proper power state for cluster/system power down
authorVarun Wadekar <vwadekar@nvidia.com>
Fri, 7 Apr 2017 00:33:31 +0000 (17:33 -0700)
committerVarun Wadekar <vwadekar@nvidia.com>
Mon, 1 May 2017 22:29:13 +0000 (15:29 -0700)
commite9cb01d96e2615d65885f22731b1ebec0a53fd85
tree91e5e7207b536ada9d1007caa4ce39af2b071ed8
parentab3a33fe5c5e3b5e4aea9d9bd88bef361588828b
Tegra186: calculate proper power state for cluster/system power down

Earlier, we were setting "System Suspend" as the power state for all system
states. This caused incorrect system state during a cluster power down.

This patch fixes this anomaly and sets the correct power state during a
cluster/system power down.

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