From df3a148654ec2a0b5100a88deb80f758079cd34a Mon Sep 17 00:00:00 2001
From: =?utf8?q?=E5=BC=A0=E6=99=B4?= <zhangqing@rock-chips.com>
Date: Thu, 28 Mar 2013 14:22:15 +0800
Subject: [PATCH] rk31xx:set tps65910 dc1 and dc2 in pwm mode

---
 arch/arm/mach-rk30/board-pmu-tps65910.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/arm/mach-rk30/board-pmu-tps65910.c b/arch/arm/mach-rk30/board-pmu-tps65910.c
index ede21b277e56..f9062668e8c2 100755
--- 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= \
-- 
2.34.1