ARM64: tegra: Set suspend_in_progress flag early
authorSai Gurrappadi <sgurrappadi@nvidia.com>
Thu, 12 Jun 2014 20:07:08 +0000 (13:07 -0700)
committerMandar Padmawar <mpadmawar@nvidia.com>
Thu, 19 Jun 2014 14:33:35 +0000 (07:33 -0700)
commitdd1314c9a7a35e3f2ccfdfae1d2e1766beda7160
tree2d9d373dbcfde8586f3042ac92bd02c9a8b3cf74
parent569fc01ace0ceb16212293cf6cf8dc7bd0e26998
ARM64: tegra: Set suspend_in_progress flag early

Set the suspend_in_progress flag early in suspend_prepare and call
cpu_up on offline CPUs to get them out of C6 on suspend. This ensures
that all CPUs (CPU1) are in C7 before LP0 is requested.

Bug 1522953

Change-Id: I7f74f0afb2bfda92c03cc20262a6acaf8716d034
Signed-off-by: Sai Gurrappadi <sgurrappadi@nvidia.com>
Reviewed-on: http://git-master/r/422815
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Peng Du <pdu@nvidia.com>
Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>
Reviewed-by: Chao Xu <cxu@nvidia.com>
GVS: Gerrit_Virtual_Submit
arch/arm64/mach-tegra/pm.c