act8931: do not disable vccio wl in tb board
authorhwg <hwg@rock-chips.com>
Sat, 20 Oct 2012 04:01:24 +0000 (12:01 +0800)
committerhwg <hwg@rock-chips.com>
Sat, 20 Oct 2012 04:01:24 +0000 (12:01 +0800)
arch/arm/mach-rk2928/board-rk2928-sdk-act8931.c

index 4e111b21bd5682129ba11bfb7c163acbf65e2426..727fcf43675421140a01893754d34afbf08b9552 100755 (executable)
@@ -58,7 +58,11 @@ static int act8931_set_init(struct act8931 *act8931)
        regulator_set_voltage(ldo, 3300000, 3300000);
        regulator_enable(ldo);
        printk("%s set ldo4 vcc_lcd=%dmV end\n", __func__, regulator_get_voltage(ldo));
-       regulator_disable(ldo);
+#if defined(CONFIG_MACH_RK2928_TB) || defined(CONFIG_MACH_RK2926_TB)
+        //do not disable vccio wl
+#else  
+        regulator_disable(ldo);
+#endif
        regulator_put(ldo);
        udelay(100);