+13
−26
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
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:Subbaraman Narayanamurthy <subbaram@codeaurora.org>