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

Skip to content
Commit 6bb2cd05 authored by Siddartha Mohanadoss's avatar Siddartha Mohanadoss Committed by Stephen Boyd
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 1e808e63
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