summaryrefslogtreecommitdiff
path: root/arch/arm/mach-tegra/cpu-tegra.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-tegra/cpu-tegra.c')
-rw-r--r--arch/arm/mach-tegra/cpu-tegra.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/arm/mach-tegra/cpu-tegra.c b/arch/arm/mach-tegra/cpu-tegra.c
index 2680a304f079..8280d7e9e76b 100644
--- a/arch/arm/mach-tegra/cpu-tegra.c
+++ b/arch/arm/mach-tegra/cpu-tegra.c
@@ -480,7 +480,7 @@ static int tegra_target(struct cpufreq_policy *policy,
target_cpu_speed[policy->cpu] = freq;
ret = tegra_cpu_cap_highest_speed(&new_speed);
if (ret == 0)
- tegra_auto_hotplug_governor(new_speed);
+ tegra_auto_hotplug_governor(new_speed, false);
out:
mutex_unlock(&tegra_cpu_lock);
@@ -497,6 +497,8 @@ static int tegra_pm_notify(struct notifier_block *nb, unsigned long event,
pr_info("Tegra cpufreq suspend: setting frequency to %d kHz\n",
freq_table[suspend_index].frequency);
tegra_update_cpu_speed(freq_table[suspend_index].frequency);
+ tegra_auto_hotplug_governor(
+ freq_table[suspend_index].frequency, true);
} else if (event == PM_POST_SUSPEND) {
is_suspended = false;
tegra_cpu_edp_init(true);