diff options
author | Anson Huang <b20788@freescale.com> | 2011-12-23 10:11:00 +0800 |
---|---|---|
committer | Jason Liu <r64343@freescale.com> | 2012-01-09 21:12:19 +0800 |
commit | 16b4c8022e69a499becb250ce889e386f01317cb (patch) | |
tree | bd2e36a954473c5ea077d68a49633e8d525995a9 | |
parent | 5561ea9c56f56f14aad8a1c079c4fb320c6d742f (diff) |
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 <b20788@freescale.com>
-rw-r--r-- | arch/arm/mach-mx6/cpu.c | 2 | ||||
-rwxr-xr-x | arch/arm/plat-mxc/dvfs_core.c | 5 |
2 files changed, 1 insertions, 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; } |