commit | 04c48a9479f568413bf82e37328f7c7f62b602d2 | [log] [tgz] |
---|---|---|
author | Jishnu Prakash <jprakash@codeaurora.org> | Thu May 10 14:15:45 2018 +0530 |
committer | Jishnu Prakash <jprakash@codeaurora.org> | Thu May 10 14:15:45 2018 +0530 |
tree | cfcc9c2217e4bebbcb9ded5bcbd2f9875be3e6be | |
parent | 45e3b69a8b45f1a4267178331d0d4b599a59ba1a [diff] |
thermal: tsens: Apply scaling to temp read from sensor Thresholds are specified in degrees C, and sensor temperatures are in milli-degrees C. Scale the sensor temperature to degrees C before comparing to the threshold value to check if threshold has been breached. Change-Id: Id2435b9e3d19d7777769ccd412ce8943dec0d1b6 Signed-off-by: Jishnu Prakash <jprakash@codeaurora.org>