commit | 22618be144a1f5595fe01b9bee8c9d50aca4ee1a | [log] [tgz] |
---|---|---|
author | Siddartha Mohanadoss <smohanad@codeaurora.org> | Tue Apr 02 15:02:19 2013 -0700 |
committer | Siddartha Mohanadoss <smohanad@codeaurora.org> | Thu Apr 04 13:09:32 2013 -0700 |
tree | 5485debd5c5c02c4f9c718e06ee788348e03a560 | |
parent | 3f219c4a8a8714019237015add23de67da3bdaac [diff] |
hwmon: qpnp-adc-current: Fix IADC current units At low current values, not using the correct units for scaling the voltage and dividing it by the appropriate units for rsense causes incorrect resolution in units for current. Fix it by using the correct units. Change-Id: Ia76382268b69db194f5f17f5a129140e75d66298 Signed-off-by: Siddartha Mohanadoss <smohanad@codeaurora.org>