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:
4c49ff6
)
rk31xx:set tps65910 dc1 and dc2 in pwm mode
author
张晴
<zhangqing@rock-chips.com>
Thu, 28 Mar 2013 06:22:15 +0000
(14:22 +0800)
committer
张晴
<zhangqing@rock-chips.com>
Thu, 28 Mar 2013 06:22:15 +0000
(14:22 +0800)
arch/arm/mach-rk30/board-pmu-tps65910.c
patch
|
blob
|
history
diff --git
a/arch/arm/mach-rk30/board-pmu-tps65910.c
b/arch/arm/mach-rk30/board-pmu-tps65910.c
index ede21b277e56a61514f0845a2daa36d93da2da23..f9062668e8c2c60c4f5d7d98bbbc3fcced122a34 100755
(executable)
--- a/
arch/arm/mach-rk30/board-pmu-tps65910.c
+++ b/
arch/arm/mach-rk30/board-pmu-tps65910.c
@@
-246,14
+246,14
@@
int tps65910_pre_init(struct tps65910 *tps65910){
#endif
#endif
- /*****************
*****set arm
in pwm ****************/
+ /*****************
set arm and logic (dc1&dc2)
in pwm ****************/
val = tps65910_reg_read(tps65910, TPS65910_DCDCCTRL);
if (val<0) {
printk(KERN_ERR "Unable to read TPS65910_DCDCCTRL reg\n");
return val;
}
- val &= ~(
1
<<4);
+ val &= ~(
3
<<4);
err = tps65910_reg_write(tps65910, TPS65910_DCDCCTRL, val);
if (err) {
printk(KERN_ERR "Unable to read TPS65910 Reg at offset 0x%x= \