commit | 18c4b9fe15d985c54dc4edc188a7264223b68628 | [log] [tgz] |
---|---|---|
author | Siddartha Mohanadoss <smohanad@codeaurora.org> | Thu Jan 23 16:13:31 2014 -0800 |
committer | Siddartha Mohanadoss <smohanad@codeaurora.org> | Tue Feb 04 23:29:59 2014 -0800 |
tree | 24aa8f42cf31b33ff382cf5eecf3fdc9144cd8a2 | |
parent | 6025ac32a2094235af422d66a437ebe627a6e6ed [diff] |
hwmon: qpnp-adc-current: Fix IADC RSENSE trim error This is a workaround for a RSENSE trim issue that may affect some of the parts. The RSENSE might be trimmed to a incorrect value resulting in an incorrect current value. The workaround will check if the trim values stored in the registers are valid and if not use a default RSENSE value. CRs-Fixed: 606553 Change-Id: I8d77a2c6c28e57f2e537d1c5b65d0e08d5fabd90 Signed-off-by: Siddartha Mohanadoss <smohanad@codeaurora.org>