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

thermal: msm8960_tsens: Fix setting mode for disabled sensors



Thermal driver in kernel currently requires the main sensor
to perform mitigation. Disable all the auxiliary sensors
and update the mode of the main sensor as being enabled during
TSENS init.

Round the converted temperature to the nearest degree.
Remove unwanted register reads added for debug and reference
to magic numbers in the code.

Change-Id: Id5652ba16f9adb462dc61266600f394901eee194
Signed-off-by: default avatarSiddartha Mohanadoss <smohanad@codeaurora.org>
parent 83939476
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment