diff options
author | Alex Frid <afrid@nvidia.com> | 2012-02-28 11:33:07 -0800 |
---|---|---|
committer | Dan Willemsen <dwillemsen@nvidia.com> | 2013-09-14 00:59:44 -0700 |
commit | 3fa26f264d1860c5b1ee3715ecf0942c7d1e7aa2 (patch) | |
tree | 5a91cd29ecb12e911083e47be5c8a819a446c9ca /arch/arm/mach-tegra/pm-t3.c | |
parent | b11c130d7af7d7b52eb1b7f17f25e62a08dca797 (diff) |
ARM: tegra: power: Use CPU G mode in suspend prepare
Switch to CPU G mode in Tegra3 suspend prepare if CPU suspend
rate is high enough. By symmetry, it guarantees that device
resume will be happening in G mode as well.
Bug 946301
Signed-off-by: Alex Frid <afrid@nvidia.com>
(cherry picked from commit 082be3604056c39442e1b42f5cfceeb089ffdaae)
Change-Id: I42e37ce8847e4916dd0fca9e4bd44096b65f7032
Reviewed-on: http://git-master/r/89352
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>
Rebase-Id: R927e8f6c3ea5394b94533dbafc6a4e4d63399671
Diffstat (limited to 'arch/arm/mach-tegra/pm-t3.c')
-rw-r--r-- | arch/arm/mach-tegra/pm-t3.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-tegra/pm-t3.c b/arch/arm/mach-tegra/pm-t3.c index e2daff6f26e5..77737ace5c1c 100644 --- a/arch/arm/mach-tegra/pm-t3.c +++ b/arch/arm/mach-tegra/pm-t3.c @@ -430,6 +430,7 @@ void tegra_lp0_cpu_mode(bool enter) flags = enter ? TEGRA_POWER_CLUSTER_LP : TEGRA_POWER_CLUSTER_G; flags |= TEGRA_POWER_CLUSTER_IMMEDIATE; tegra_cluster_control(0, flags); + pr_info("Tegra: switched to %s cluster\n", enter ? "LP" : "G"); } } #endif |