commit | 034a03416b386b7bd6d197bba60b20e277a4cb7f | [log] [tgz] |
---|---|---|
author | Abhijeet Dharmapurikar <adharmap@codeaurora.org> | Thu Dec 08 11:12:54 2011 -0800 |
committer | David Collins <collinsd@codeaurora.org> | Fri Dec 16 13:17:34 2011 -0800 |
tree | ac6fbc20535e5e52db6603ed7b650ee2fbf5963c | |
parent | 10d87eafd6a6cb5b7595bc7da733a08353b18910 [diff] |
power: pm8xxx-ccadc: fix incorrect gain and offset readings The driver assumed that the gain and offset value can be negative. gain and offset should always be interpreted as positive numbers when read from the ccadc. Change-Id: Iaecb181e0b7c224f24f666928bef3ca87fe6de8d Signed-off-by: Abhijeet Dharmapurikar <adharmap@codeaurora.org>