diff options
author | Subbaraman Narayanamurthy <subbaram@codeaurora.org> | 2017-06-05 11:59:15 -0700 |
---|---|---|
committer | Subbaraman Narayanamurthy <subbaram@codeaurora.org> | 2017-06-12 12:04:39 -0700 |
commit | b9c7f086575a916b4c56aea5fd04f013421efb19 (patch) | |
tree | b1eef90ecedfb406477a3c70ec63107f850e595d /arch/arm/kernel/stacktrace.c | |
parent | 1a3659dcd47dab3f2ca9199d07ba7a4603c29ea2 (diff) |
power: qpnp-fg-gen3: Qualify aborting capacity learning
Currently, capacity learning algorithm is aborted when the
charging status goes to not charging. This can happen with qnovo
enabled charging where stopping the pulsing can lead to charging
status change. Qualify aborting capacity learning based on the
qnovo enable status and input presence.
While at it, abort the capacity learning when the charging status
goes to discharging and charger is removed.
Change-Id: I4546e8880be0658748157cb13f048610eee932a3
Signed-off-by: Subbaraman Narayanamurthy <subbaram@codeaurora.org>
Diffstat (limited to 'arch/arm/kernel/stacktrace.c')
0 files changed, 0 insertions, 0 deletions