summaryrefslogtreecommitdiff
path: root/arch/arm/mach-tegra/suspend.c
diff options
context:
space:
mode:
authorAlex Frid <afrid@nvidia.com>2010-10-06 00:02:41 -0700
committerVarun Colbert <vcolbert@nvidia.com>2010-10-20 15:44:13 -0700
commit24026696dcd728be545c07fcd3b4bd7e1483c553 (patch)
tree70eb96192b21234c8d131669de912a8d1c2e5c48 /arch/arm/mach-tegra/suspend.c
parentb5ec7cc7a010e333f63eac4e9ff605cb51361bfd (diff)
[ARM/tegra] suspend: Consolidated dvfs/TMON resume.
Moved dvfs resume into finish suspend ops call (from the 1st dvfs thread invocation after suspend). This would guarantee dvfs re-start in case when suspend is aborted by other driver. Bug 742504 (cherry picked from commit 3a8bf2922f2f266381c887f3c05b7a755b40fae2) Added thermal monitor (TMON) suspend/resume functionality. Bug 698425 Bug 746601 (cherry picked from commit d6aa039689b31d311c836fe478c5943470d7203d) Change-Id: I643f5bd9021989af569bd0ebba40af60738a6bdf Reviewed-on: http://git-master/r/8719 Tested-by: Aleksandr Frid <afrid@nvidia.com> Reviewed-by: Narendra Damahe <ndamahe@nvidia.com> Tested-by: Narendra Damahe <ndamahe@nvidia.com> Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com> Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com>
Diffstat (limited to 'arch/arm/mach-tegra/suspend.c')
-rw-r--r--arch/arm/mach-tegra/suspend.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-tegra/suspend.c b/arch/arm/mach-tegra/suspend.c
index b38833211302..dd623bdb69dc 100644
--- a/arch/arm/mach-tegra/suspend.c
+++ b/arch/arm/mach-tegra/suspend.c
@@ -522,6 +522,7 @@ static void tegra_suspend_finish(void)
NvOdmSocPowerState state = NvRmPowerLowestStateGet();
NvRmPrivPmuLPxStateConfig(s_hRmGlobal, state, NV_FALSE);
+ NvRmPrivDfsResume();
#endif
}