summaryrefslogtreecommitdiff
path: root/drivers/thermal
diff options
context:
space:
mode:
authorPhilippe Schenker <philippe.schenker@toradex.com>2019-01-30 10:32:09 +0100
committerMarcel Ziswiler <marcel.ziswiler@toradex.com>2020-02-09 22:45:39 +0100
commitf26cd04869e4a472e2e39199e2d37cbf70fbf02a (patch)
treed4ed804154d01308e52d9d1290176d1e057b5a8a /drivers/thermal
parentfc24b037c2991415c599fd862476a7befff95574 (diff)
imx_thermal.c: Use new temperature trip point values
Use the max. junction temperature read from fusing for critical shutdown temperature. Passive temperature is set 10C lower. Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
Diffstat (limited to 'drivers/thermal')
-rw-r--r--drivers/thermal/imx_thermal.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/thermal/imx_thermal.c b/drivers/thermal/imx_thermal.c
index dc26dba08df7..44a909aee044 100644
--- a/drivers/thermal/imx_thermal.c
+++ b/drivers/thermal/imx_thermal.c
@@ -661,10 +661,10 @@ static int imx_get_sensor_data(struct platform_device *pdev)
}
/*
- * Set the critical trip point at 5C under max
+ * Set the critical trip point at max
* Set the passive trip point at 10C under max (can change via sysfs)
*/
- data->temp_critical = data->temp_max + (1000 * 10);
+ data->temp_critical = data->temp_max;
data->temp_passive = data->temp_max - (1000 * 10);
return 0;