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

Commit e6e4152a authored by Xiaozhe Shi's avatar Xiaozhe Shi Committed by Abhijeet Dharmapurikar
Browse files

power: qpnp-smbcharger: limit enabling parallel charger frequently



Currently, whenever the charger driver receives an AICL done interrupt,
it will go and attempt to enable parallel charging if it's available.
However, this can create a loop where a charger cannot support parallel
charging with load, but upon disabling parallel charging, the AICL done
interrupt from the AICL tries to re-enable parallel charging.

Fix this by not allowing parallel charging to be re-enabled more than
once every 30 seconds.

CRs-Fixed: 815311
Change-Id: Id8f9aea3f3eefda4b50d3807f666bb11377b229e
Signed-off-by: default avatarXiaozhe Shi <xiaozhes@codeaurora.org>
parent dcc3b524
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