commit | c414048a93091ab97af8c9240c3f58689eeb30e9 | [log] [tgz] |
---|---|---|
author | Siddartha Mohanadoss <smohanad@codeaurora.org> | Thu Mar 28 18:44:54 2013 -0700 |
committer | Siddartha Mohanadoss <smohanad@codeaurora.org> | Mon Apr 01 09:31:44 2013 -0700 |
tree | 23ddc7d136cfe4e18b43e2d05b477a99280a95d0 | |
parent | 999f808c793e56d18586b67904c2f0730d22e9ad [diff] |
hwmon: qpnp-adc-common: Fix vbatt reverse scaling Update the scaling function for vbatt reverse scaling api to fix issues while performing integer operations. Clients request the voltage in micro-volts and the reverse scaling fix is the use the correct absolute reverse scaling function to convert it to voltage thresholds. Change-Id: Iea61b768daf708b4f59e5728ed1249dd60f18258 Signed-off-by: Siddartha Mohanadoss <smohanad@codeaurora.org>