summaryrefslogtreecommitdiff
path: root/drivers/thermal
diff options
context:
space:
mode:
authorPhilippe Schenker <philippe.schenker@toradex.com>2018-12-17 15:34:22 +0100
committerPhilippe Schenker <philippe.schenker@toradex.com>2019-05-24 11:34:18 +0200
commit2e4559cf32987c8528c18083dee62a81962ee95f (patch)
tree4b83fa22da53ff1f6b263637407e82ad1c7c6943 /drivers/thermal
parent7166f2ca2aed85896312d55b937308bc409fc90c (diff)
imx_thermal.c: Use old trip point values from BSP 2.7
In kernel upgrade from 4.1 -> 4.9 trip point values have been changed by NXP. These new values caused a lot of modules to critical shut-down during validation and verification. This commit changes the new imx_thermal.c code to use the old, well verified values. Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com> Acked-by: Max Krummenacher <max.krummenacher@toradex.com> (cherry picked from commit 308edefe57c5c96fad196b6e65fa159857e969f3)
Diffstat (limited to 'drivers/thermal')
-rw-r--r--drivers/thermal/imx_thermal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/thermal/imx_thermal.c b/drivers/thermal/imx_thermal.c
index 5971977b4618..9807345edf3c 100644
--- a/drivers/thermal/imx_thermal.c
+++ b/drivers/thermal/imx_thermal.c
@@ -661,7 +661,7 @@ static int imx_get_sensor_data(struct platform_device *pdev)
* Set the critical trip point at 5C under max
* Set the passive trip point at 10C under max (can change via sysfs)
*/
- data->temp_critical = data->temp_max - (1000 * 5);
+ data->temp_critical = data->temp_max + (1000 * 10);
data->temp_passive = data->temp_max - (1000 * 10);
return 0;