commit | d4e9edcee0c8afacbacc47cdf4f5d2fd5fc56c3c | [log] [tgz] |
---|---|---|
author | Siddartha Mohanadoss <smohanad@codeaurora.org> | Wed Apr 17 14:42:16 2013 -0700 |
committer | Siddartha Mohanadoss <smohanad@codeaurora.org> | Wed Apr 17 14:42:16 2013 -0700 |
tree | a6a4c4c06fae27183a945c70462b23def22e8b32 | |
parent | ee00f42c69fe996b1bc23052884b3fe94ba06dc3 [diff] |
hwmon: qpnp-adc-current: Update die_temp read Instead of reading the die_temperature every time perform calibration only if the die_temperature between the previous calibration was greater than 5degC. It is fine to perform calibration but is unnecessary to perform it for every other read. Change-Id: I2f819044395b37dd4aa906b3711a9de068260b3f Signed-off-by: Siddartha Mohanadoss <smohanad@codeaurora.org>