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

Skip to content
Commit 448a3061 authored by Anirudh Ghayal's avatar Anirudh Ghayal
Browse files

power: qpnp-linear-charger: Use FORCE_BATT_ON to disable charging



When there is no battery present the charger FSM does not get disabled
even with the CHG_EN bit. Use the FORCE_BATT_ON bit along with the
CHG_EN bit to disable the charging FSM.

While at it, do not set the online property as its set by the USB
driver.

CRs-Fixed: 635784
Change-Id: Ie33e1a9ccc7781606829a5ef9a310b0c5de330d1
Signed-off-by: default avatarAnirudh Ghayal <aghayal@codeaurora.org>
parent 538c521c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment