diff options
author | Philippe Schenker <philippe.schenker@toradex.com> | 2019-01-30 10:32:09 +0100 |
---|---|---|
committer | Philippe Schenker <philippe.schenker@toradex.com> | 2019-05-09 11:13:56 +0200 |
commit | 67e44aa95a048384c24c2e928b18e3e1087e62f7 (patch) | |
tree | 5c282c36aa5c958fa3ab9ff5c05040e7ff5d3d0d | |
parent | 4bcd8d67b9d7bb02af7b6080dfb12afcc10d7bb5 (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>
-rw-r--r-- | drivers/thermal/imx_thermal.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/thermal/imx_thermal.c b/drivers/thermal/imx_thermal.c index 28072a7b0eaa..591d6beb4223 100644 --- a/drivers/thermal/imx_thermal.c +++ b/drivers/thermal/imx_thermal.c @@ -656,10 +656,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; |