summaryrefslogtreecommitdiff
path: root/arch/arm/mach-tegra
diff options
context:
space:
mode:
authorAlex Frid <afrid@nvidia.com>2011-10-29 21:12:44 -0700
committerDan Willemsen <dwillemsen@nvidia.com>2011-11-30 21:49:57 -0800
commitf24656db4af14f6ba94dbabbb7ebb6ccb66b3658 (patch)
treedd34917a2d112eb66e99082defa24fb0baa2ff40 /arch/arm/mach-tegra
parent334f32b7ed5128b1dabaae6eecbbfa2638fcb84d (diff)
ARM: tegra: power: Update CPU rate after mode switch
Update Tegra3 CPU clock rate after G=>LP mode switch is completed to synchronize with cpufreq target rate. (cherry picked from commit 870d21e5e23eff476cdd841b4ce2605393d638ef) (cherry picked from commit 11b20d7d6206c557f00e3f7a40dec1d498345d79) Change-Id: I62237b8d34be23a8d903937f2ebb2d395c5db1b9 Reviewed-on: http://git-master/r/63359 Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com> Rebase-Id: Rdd1548389896521fddb2e239d6236706eb102f73
Diffstat (limited to 'arch/arm/mach-tegra')
-rw-r--r--arch/arm/mach-tegra/cpu-tegra3.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-tegra/cpu-tegra3.c b/arch/arm/mach-tegra/cpu-tegra3.c
index c55cdcc748ed..05b2e70816e3 100644
--- a/arch/arm/mach-tegra/cpu-tegra3.c
+++ b/arch/arm/mach-tegra/cpu-tegra3.c
@@ -229,6 +229,8 @@ static void tegra_auto_hotplug_work_func(struct work_struct *work)
if(!clk_set_parent(cpu_clk, cpu_lp_clk)) {
hp_stats_update(CONFIG_NR_CPUS, true);
hp_stats_update(0, false);
+ /* catch-up with governor target speed */
+ tegra_cpu_set_speed_cap(NULL);
} else
queue_delayed_work(
hotplug_wq, &hotplug_work, down_delay);