summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilippe Schenker <philippe.schenker@toradex.com>2018-12-17 15:34:22 +0100
committerMarcel Ziswiler <marcel.ziswiler@toradex.com>2018-12-27 16:29:50 +0100
commit5758a8e648a3947d974fbcaad49db6e513a77a9d (patch)
tree845b0611e83a27a7f64817fef592ca82ad673663
parent85483bb2da5af338e689c4aa69a5ef6e911cf0ef (diff)
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)
-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 9c32c125069c..28072a7b0eaa 100644
--- a/drivers/thermal/imx_thermal.c
+++ b/drivers/thermal/imx_thermal.c
@@ -659,7 +659,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;