Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0f80ba63 authored by Rupesh Kumar's avatar Rupesh Kumar Committed by Lee Jones
Browse files

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: default avatarRupesh Kumar <rupesh.kumar@stericsson.com>
Signed-off-by: default avatarLee Jones <lee.jones@linaro.org>
Reviewed-by: default avatarMarcus COOPER <marcus.xm.cooper@stericsson.com>
Reviewed-by: default avatarPhilippe LANGLAIS <philippe.langlais@stericsson.com>
parent a21e22f2
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -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;
}