summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Frid <afrid@nvidia.com>2010-07-24 00:05:47 -0700
committerGary King <gking@nvidia.com>2010-07-26 09:57:46 -0700
commit69ceb273e12caf3ceb4bc3d2aeb69c441046ed6d (patch)
treec83c28219478089e0da68f1be8f93ca391926e03
parenta355e80e1c02376b2a336a685896af817d2d5deb (diff)
[ARM/tegra] power: Rescaled power timers (Part 2).
Fixed timer "fix" in commit c0fd286380b8b5276c7aed6fb7a9f5eacde9f60e. Removed from the LP0 entry path call to set_power_timers(), that could overwrite 32kHz-scaled timer values. This did not happen (and original "fix" worked in testing) because set_power_timers() does nothing when there is no change in APB frequency since last call, i.e., since last LP2 before LP0. Change-Id: Ida84319f26eff06d4d94f11c717fe667082bb54f Reviewed-on: http://git-master/r/4376 Tested-by: Aleksandr Frid <afrid@nvidia.com> Reviewed-by: Gary King <gking@nvidia.com>
-rw-r--r--arch/arm/mach-tegra/suspend.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/arm/mach-tegra/suspend.c b/arch/arm/mach-tegra/suspend.c
index ce18c037c4da..8eda2fab9873 100644
--- a/arch/arm/mach-tegra/suspend.c
+++ b/arch/arm/mach-tegra/suspend.c
@@ -437,7 +437,6 @@ static void tegra_suspend_dram(bool lp0_ok)
mode &= ~TEGRA_POWER_EFFECT_LP0;
} else {
NvRmPrivPowerSetState(s_hRmGlobal, NvRmPowerState_LP0);
- set_power_timers(pdata->cpu_timer, pdata->cpu_off_timer);
tegra_setup_warmboot();
mode |= TEGRA_POWER_CPU_PWRREQ_OE;
mode |= TEGRA_POWER_PWRREQ_OE;