]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
ENGR00170891 [MX6]Disable WAIT mode and DVFS
authorAnson Huang <b20788@freescale.com>
Fri, 23 Dec 2011 02:11:00 +0000 (10:11 +0800)
committerLothar Waßmann <LW@KARO-electronics.de>
Fri, 24 May 2013 06:33:41 +0000 (08:33 +0200)
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>
arch/arm/mach-mx6/cpu.c
arch/arm/plat-mxc/dvfs_core.c

index 81f691cb35b5fdf5b3c70bf28a5ff6ff0b49d638..3b7a344a573b6f73e4a901f3c489e0701021aae0 100644 (file)
@@ -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;
index 6616831aea50bafce8f0d9a0342ee18c66b2802c..cacd3cca7dd5fd77b93669ab3e84933aa9895c3a 100755 (executable)
@@ -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;
 }