commit | 91a1cd67d01eca837911792b09f85584f8a9dfd1 | [log] [tgz] |
---|---|---|
author | Siddartha Mohanadoss <smohanad@codeaurora.org> | Fri Apr 19 19:34:36 2013 -0700 |
committer | Siddartha Mohanadoss <smohanad@codeaurora.org> | Fri Apr 19 19:41:11 2013 -0700 |
tree | d4fc0ed27b814eb7a4d0600cf1eaa9ad56b811a1 | |
parent | 5cbfbcbcd282df6b0fd47a9710b5c465ab349323 [diff] |
hwmon: qpnp-adc-common: Fix setting reverse vbatt values Use int64_t type to while scaling the threshold values with absolute calibration arithmetic avoid overflow errors. Change-Id: I29d3b4ad71776a45ec1cd2c076b0f058b7bf8723 Signed-off-by: Siddartha Mohanadoss <smohanad@codeaurora.org>