commit | 62ad5e193d2a94568af173d63c8add8a06d9705c | [log] [tgz] |
---|---|---|
author | Xiaozhe Shi <xiaozhes@codeaurora.org> | Mon May 13 12:37:41 2013 -0700 |
committer | Xiaozhe Shi <xiaozhes@codeaurora.org> | Mon May 13 12:47:05 2013 -0700 |
tree | ff8ace9ef745166c7a3a10946df8113409e432ec | |
parent | 74548b92d9f80831fd434128bce0528206679c8a [diff] |
hwmon: qpnp-adc: fix iadc compensation for pmic 3.0 With PMIC 3.0, the iadc compensation scheme will return 0 current because of an conversion bug. Fix this in the iadc driver. Also, the iadc driver was incorrectly assuming GF as the fab. Remove this from the compensation scheme. Finally, when the ADC revision is unsupported, simply do not compensate. Change-Id: I8d4ec7bfe7e125bd18da9dba5d78f988ffaea515 Signed-off-by: Xiaozhe Shi <xiaozhes@codeaurora.org>