aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/power
diff options
context:
space:
mode:
authorThomas Ryu <smilesr.ryu@samsung.com>2011-12-13 15:59:29 +0900
committerJP Abgrall <jpa@google.com>2012-02-22 21:59:37 -0800
commitb0293800181f91f5930075ccfc2ef7938cce1f8e (patch)
treec316cfc7d3097f2682fe848cd02e3bebc3a3e214 /drivers/power
parent66b1fe9916260621f3decf5b61142f4010e6cd12 (diff)
downloadkernel_samsung_aries-b0293800181f91f5930075ccfc2ef7938cce1f8e.zip
kernel_samsung_aries-b0293800181f91f5930075ccfc2ef7938cce1f8e.tar.gz
kernel_samsung_aries-b0293800181f91f5930075ccfc2ef7938cce1f8e.tar.bz2
power: enable USB VBUS of cp and WiMAX
Enable the VBUS of CP and WiMAX for debugging purpose. This change has no effect on the current implementation until USB path of CP or WiMAX is changed by the user. Signed-off-by: Thomas Ryu <smilesr.ryu@samsung.com>
Diffstat (limited to 'drivers/power')
-rwxr-xr-xdrivers/power/s5pc110_battery.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/power/s5pc110_battery.c b/drivers/power/s5pc110_battery.c
index 6cb3e90..ad106f7 100755
--- a/drivers/power/s5pc110_battery.c
+++ b/drivers/power/s5pc110_battery.c
@@ -469,7 +469,8 @@ static int max8998_charging_control(struct chg_data *chg)
}
ret = max8998_write_reg(i2c, MAX8998_REG_CHGR2,
- (2 << MAX8998_SHIFT_ESAFEOUT) |
+ /* Enable USB VBUS of CP or WiMAX */
+ (3 << MAX8998_SHIFT_ESAFEOUT) |
(2 << MAX8998_SHIFT_FT) |
(0 << MAX8998_SHIFT_CHGEN));
if (ret < 0)