commit | 582795499429fa8a8afec92a61dd5d00f3e3dce3 | [log] [tgz] |
---|---|---|
author | Siddartha Mohanadoss <smohanad@codeaurora.org> | Tue May 28 16:20:46 2013 -0700 |
committer | Siddartha Mohanadoss <smohanad@codeaurora.org> | Tue May 28 16:20:46 2013 -0700 |
tree | 936b8b9f088306cbfd81773e49dd33b27bb31bae | |
parent | d1adda20aa35ba4c02030e7c303da59fc1c44438 [diff] |
hwmon: qpnp-adc-current: Fix external rsense value When external rsense is selected the api used to calculate the rsense needs to return back. Instead it recalculates the rsense using the trim procedure used for calcuating the internal rsense. Fix it by returning the value that is used for the external rsense. Change-Id: Icde61ca2c95d1b4ab64d9f6db2fc97ac4e47daab Signed-off-by: Siddartha Mohanadoss <smohanad@codeaurora.org>