diff options
author | Anson Huang <b20788@freescale.com> | 2011-12-23 10:11:00 +0800 |
---|---|---|
committer | Anson Huang <b20788@freescale.com> | 2011-12-23 10:52:51 +0800 |
commit | 09fe8ec052dac456ee5db1db7f06864152e12c1f (patch) | |
tree | b83ff7bb1bbb5747c3f601e0dca6ff0764454325 /arch | |
parent | c103e410e30c97d43853ba9f6e850f8deef85173 (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>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/mach-mx6/cpu.c | 2 | ||||
-rw-r--r-- | 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 100644 --- 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; } |