projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8748412
)
act8931: do not disable vccio wl in tb board
author
hwg
<hwg@rock-chips.com>
Sat, 20 Oct 2012 04:01:24 +0000
(12:01 +0800)
committer
hwg
<hwg@rock-chips.com>
Sat, 20 Oct 2012 04:01:24 +0000
(12:01 +0800)
arch/arm/mach-rk2928/board-rk2928-sdk-act8931.c
patch
|
blob
|
history
diff --git
a/arch/arm/mach-rk2928/board-rk2928-sdk-act8931.c
b/arch/arm/mach-rk2928/board-rk2928-sdk-act8931.c
index 4e111b21bd5682129ba11bfb7c163acbf65e2426..727fcf43675421140a01893754d34afbf08b9552 100755
(executable)
--- a/
arch/arm/mach-rk2928/board-rk2928-sdk-act8931.c
+++ b/
arch/arm/mach-rk2928/board-rk2928-sdk-act8931.c
@@
-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);