mirror of
https://github.com/LineageOS/android_kernel_samsung_msm8226.git
synced 2026-10-01 00:00:50 +02:00
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>