From d4c17d698867c528f190307e9b82219b64ca990e Mon Sep 17 00:00:00 2001 From: Anson Huang Date: Fri, 23 Dec 2011 10:11:00 +0800 Subject: [PATCH] ENGR00170891 [MX6]Disable WAIT mode and DVFS WAIT mode and DVFS still have some defects, we need to disable it by default until we make them works. Signed-off-by: Anson Huang --- arch/arm/mach-mx6/cpu.c | 2 +- arch/arm/plat-mxc/dvfs_core.c | 5 ----- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/arch/arm/mach-mx6/cpu.c b/arch/arm/mach-mx6/cpu.c index 81f691cb35b5..3b7a344a573b 100644 --- a/arch/arm/mach-mx6/cpu.c +++ b/arch/arm/mach-mx6/cpu.c @@ -38,7 +38,7 @@ extern void mx6_wait(void); struct cpu_op *(*get_cpu_op)(int *op); -bool enable_wait_mode = true; +bool enable_wait_mode; u32 arm_max_freq = CPU_AT_1GHz; void __iomem *gpc_base; diff --git a/arch/arm/plat-mxc/dvfs_core.c b/arch/arm/plat-mxc/dvfs_core.c index 6616831aea50..cacd3cca7dd5 100755 --- a/arch/arm/plat-mxc/dvfs_core.c +++ b/arch/arm/plat-mxc/dvfs_core.c @@ -1081,11 +1081,6 @@ static int __init dvfs_init(void) dvfs_core_is_active = 0; printk(KERN_INFO "DVFS driver module loaded\n"); - /* Enable DVFS by default. */ - if (start_dvfs() != 0) - printk(KERN_ERR "Failed to start DVFS\n"); - printk(KERN_INFO "DVFS driver Enabled\n"); - return 0; } -- 2.39.5