mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 19:51:31 -04:00
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 <[email protected]> Signed-off-by: Lee Jones <[email protected]> Reviewed-by: Marcus COOPER <[email protected]> Reviewed-by: Philippe LANGLAIS <[email protected]>
This commit is contained in:
parent
a21e22f2f3
commit
0f80ba6318
1 changed files with 0 additions and 4 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue