Commit f247105b authored by Abhijeet Dharmapurikar's avatar Abhijeet Dharmapurikar Committed by Bryan Huntsman
Browse files

power: pm8921-charger: explicitly call bms for start/stop charging



The current code relies on charge state changes to check battery charging
and notify bms.  The charge state change interrupt can occur many times,
causing unnecessary checks on battery charging. Instead explicitly invoke
charging checks in case of events known to start/stop charging. On similar
lines disable the use of charge state change interrupts.

Signed-off-by: default avatarAbhijeet Dharmapurikar <adharmap@codeaurora.org>
parent 551bb3d8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment