commit | f247105b78a69dfd34b45ac737afffdc05b11a6a | [log] [tgz] |
---|---|---|
author | Abhijeet Dharmapurikar <adharmap@codeaurora.org> | Sun Sep 25 22:18:36 2011 -0700 |
committer | Bryan Huntsman <bryanh@codeaurora.org> | Tue Oct 04 17:14:04 2011 -0700 |
tree | d0c809e7f34de6c133290761feb0804f9fea02f5 | |
parent | 551bb3d82048d64cd4beec13f4bf4d9a0935cf12 [diff] |
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: Abhijeet Dharmapurikar <adharmap@codeaurora.org>