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, 4 insertions, 0 deletions
diff --git a/arch/arm/mach-tegra/cpu-tegra.c b/arch/arm/mach-tegra/cpu-tegra.c
index d032205e1146..1eb1a29b2f58 100644
--- a/arch/arm/mach-tegra/cpu-tegra.c
+++ b/arch/arm/mach-tegra/cpu-tegra.c
@@ -500,8 +500,12 @@ static int tegra_pm_notify(struct notifier_block *nb, unsigned long event,
tegra_auto_hotplug_governor(
freq_table[suspend_index].frequency, true);
} else if (event == PM_POST_SUSPEND) {
+ unsigned int freq;
is_suspended = false;
tegra_cpu_edp_init(true);
+ tegra_cpu_cap_highest_speed(&freq);
+ pr_info("Tegra cpufreq resume: restoring frequency to %d kHz\n",
+ freq);
}
mutex_unlock(&tegra_cpu_lock);