summaryrefslogtreecommitdiff
path: root/arch/arm/mach-mx6/pm.c
diff options
context:
space:
mode:
authorRanjani Vaidyanathan <ra5478@freescale.com>2011-07-29 14:30:19 -0500
committerJason Liu <r64343@freescale.com>2012-07-20 13:15:45 +0800
commit4f68d445af0e34e04c27a0f1b38207af611da652 (patch)
treed855e949253161ee041fa35ece04301543a1a15b /arch/arm/mach-mx6/pm.c
parent1009ccfbc9346ff0b726071a8592c5ef5cc8150d (diff)
ENGR00139280: MX6: Add CPUFREQ support
Add support for CPUFREQ for SMP system. Added support for 1GHz, 800MHz, 400MHz and 160MHz. Added support for scaling the voltage along with frequency. Signed-off-by: Ranjani Vaidyanathan <ra5478@freescale.com>
Diffstat (limited to 'arch/arm/mach-mx6/pm.c')
-rw-r--r--arch/arm/mach-mx6/pm.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/arch/arm/mach-mx6/pm.c b/arch/arm/mach-mx6/pm.c
index 45e43977a538..ac5ede9dd1f8 100644
--- a/arch/arm/mach-mx6/pm.c
+++ b/arch/arm/mach-mx6/pm.c
@@ -224,20 +224,6 @@ static int mx6_suspend_prepare(void)
*/
static void mx6_suspend_finish(void)
{
-#if defined(CONFIG_CPU_FREQ)
- struct cpufreq_freqs freqs;
-
- freqs.old = clk_get_rate(cpu_clk) / 1000;
- freqs.new = org_freq / 1000;
- freqs.cpu = 0;
- freqs.flags = 0;
-
- if (org_freq != clk_get_rate(cpu_clk)) {
- set_cpu_freq(org_freq);
- cpufreq_notify_transition(&freqs, CPUFREQ_PRECHANGE);
- cpufreq_notify_transition(&freqs, CPUFREQ_POSTCHANGE);
- }
-#endif
}
/*