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

Commit b3fca5ba authored by Subbaraman Narayanamurthy's avatar Subbaraman Narayanamurthy
Browse files

power: qpnp-smbcharger: Fix notifying FG while handling TCC interrupt



Commit 227ab376 ("power: qpnp-smbcharger: only set
CHARGE_DONE if terminated") introduced a change to notify FG to
lower the resume_soc only when the TCC bit is set when the
termination interrupt is handled. This may not work well as the
charge termination interrupt is not a level triggered one but a
pulse. So, just notify FG on the charge termination whenever
TCC interrupt is handled. While at it, remove an unwanted call
of chg_term_handler() from determine_initial_status().

CRs-Fixed: 917437
Change-Id: I921f2a6f5ae1c580f7d66987c12645e3d60365c4
Signed-off-by: default avatarSubbaraman Narayanamurthy <subbaram@codeaurora.org>
parent 566d1d5d
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