commit | 3af26db07fccb32ac4ebb0d015c44a58773496bd | [log] [tgz] |
---|---|---|
author | Praveen Chidambaram <pchidamb@codeaurora.org> | Tue Sep 17 13:51:42 2013 -0600 |
committer | Gerrit - the friendly Code Review server <code-review@localhost> | Wed Oct 02 19:07:21 2013 -0700 |
tree | 158fb67055817e4dbd171aad662831309818f6a9 | |
parent | b4c69a8958d370dbd4dbe8b9aed47643387708ad [diff] |
thermal: Fix sensor thresholds not accounted correctly Sensor threshold min and max are calculated to be binding around the current temp, but they fail if there no thresholds available with the min < curr_temp and the max > curr_temp. Fix negative temperatures handling. Change-Id: Ie4fb5ca2cdaf430b98c3665773a8d55ac9db5359 Signed-off-by: Praveen Chidambaram <pchidamb@codeaurora.org>