power: qpnp-fg-gen4: Retry ESR fast calibration on a failed attempt
ESR fast calibration when enabled makes frequent ESR pulses so
that the state of charge (SOC) can be calculated accurately. In
some cases, there is a possibility that ESR pulses cannot fire
within the calibrated window. Retry enabling ESR fast calibration
once from delta MSOC interrupt handler and disable it after a
ESR delta interrupt fires or timer expires.
Change-Id: I5eb26427e581fa9717e5d3ca55c6ee7c9b37fba1
Signed-off-by:
Subbaraman Narayanamurthy <subbaram@codeaurora.org>
Loading
Please register or sign in to comment