commit | be6bd8ce1ba1eab49caa79be898e947a38016e02 | [log] [tgz] |
---|---|---|
author | Abhijeet Dharmapurikar <adharmap@codeaurora.org> | Fri Aug 19 12:15:06 2011 -0700 |
committer | Bryan Huntsman <bryanh@codeaurora.org> | Mon Oct 03 16:16:39 2011 -0700 |
tree | b5857a00541931b1a3460ce787c7aa738b013f56 | |
parent | b24e2c3810f6eca4f8007ca2082c940ad7fbf8d8 [diff] |
power: pm8921-charger: add support for invalid battery Use adc reading on the battery_id resistor to check if a battery is valid. If it is not disable charging. Signed-off-by: Abhijeet Dharmapurikar <adharmap@codeaurora.org>