Commit a9387a34 authored by Siddartha Mohanadoss's avatar Siddartha Mohanadoss
Browse files

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: default avatarSiddartha Mohanadoss <smohanad@codeaurora.org>
parent bbcaa9f2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment