Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 1149b34b authored by Praveen Chidambaram's avatar Praveen Chidambaram Committed by Gerrit - the friendly Code Review server
Browse files

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: I124d2a9249f705d41469b8e0efffe2dfdf05e292
Signed-off-by: default avatarPraveen Chidambaram <pchidamb@codeaurora.org>
parent 5c3bdb89
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment