summaryrefslogtreecommitdiffstats
path: root/drivers/power
diff options
context:
space:
mode:
authorRupesh Kumar <rupesh.kumar@stericsson.com>2012-11-20 11:51:56 +0530
committerLee Jones <lee.jones@linaro.org>2013-03-07 12:35:55 +0800
commit0f80ba63187439ef4ad3810ccd97633af9522be8 (patch)
tree05b53e7177fcfa3028393af6d8704d1be20ad0c9 /drivers/power
parenta21e22f2f36c65c8453575ffd0cc8267134bb30a (diff)
downloadlinux-stable-0f80ba63187439ef4ad3810ccd97633af9522be8.tar.gz
linux-stable-0f80ba63187439ef4ad3810ccd97633af9522be8.tar.bz2
linux-stable-0f80ba63187439ef4ad3810ccd97633af9522be8.zip
pm2301-charger: Charging LED control for pm2301
The LED Indicator feature allows indicating through a led when the PM2301 battery charging is active. SW shall not disable this LED. Signed-off-by: Rupesh Kumar <rupesh.kumar@stericsson.com> Signed-off-by: Lee Jones <lee.jones@linaro.org> Reviewed-by: Marcus COOPER <marcus.xm.cooper@stericsson.com> Reviewed-by: Philippe LANGLAIS <philippe.langlais@stericsson.com>
Diffstat (limited to 'drivers/power')
-rw-r--r--drivers/power/pm2301_charger.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/power/pm2301_charger.c b/drivers/power/pm2301_charger.c
index 12aeed34bd4f..ac03f9e247d1 100644
--- a/drivers/power/pm2301_charger.c
+++ b/drivers/power/pm2301_charger.c
@@ -706,10 +706,6 @@ static int pm2xxx_charging_init(struct pm2xxx_charger *pm2)
ret = pm2xxx_reg_write(pm2, PM2XXX_BATT_LOW_LEV_COMP_REG,
PM2XXX_VBAT_LOW_MONITORING_ENA);
- /* Disable LED */
- ret = pm2xxx_reg_write(pm2, PM2XXX_LED_CTRL_REG,
- PM2XXX_LED_SELECT_DIS);
-
return ret;
}