commit | 77e9aed4adde8ed48b8a31b10dec2298f4939852 | [log] [tgz] |
---|---|---|
author | Abhijeet Dharmapurikar <adharmap@codeaurora.org> | Tue Oct 30 22:23:19 2012 -0700 |
committer | Abhijeet Dharmapurikar <adharmap@codeaurora.org> | Mon Nov 26 15:50:51 2012 -0800 |
tree | 21b7aa4e9bb4975e583169bd132b8f47d80edc36 | |
parent | 70ef382867b1aa6a0f2f62e2becd75c32b0de1df [diff] |
power: pm8921-charger: report correct online status when disabled The current code returns that a charger is not connected when charging is disabled. This causes applications that depend on charger's presence (not necessarily charging) to fail. Fix this by returning the correct online status. Change-Id: I0aa523321f1eed4a0a5461b1a894452f77e6ff99 Signed-off-by: Abhijeet Dharmapurikar <adharmap@codeaurora.org>