commit | a9387a34e0d0e4a4189486f69d08b135772ed833 | [log] [tgz] |
---|---|---|
author | Siddartha Mohanadoss <smohanad@codeaurora.org> | Sun Oct 14 20:39:41 2012 -0700 |
committer | Siddartha Mohanadoss <smohanad@codeaurora.org> | Fri Oct 19 17:26:30 2012 -0700 |
tree | 12f75485330b90d6495a2e4e262fb89b67acbbaf | |
parent | bbcaa9f2f76b62464a3df32218339c47c3425110 [diff] |
thermal: tsens8974: fix setting negative thresholds Fix setting negative temperature thresholds. The errors are due to performing arithmetic math with different type casts. Also fix the rounding errors seen when setting temperature thresholds. Change-Id: I3b98f603992a951e599224d6664c6cdad5a3d955 Signed-off-by: Siddartha Mohanadoss <smohanad@codeaurora.org>