From 40f16e3fd3a4730ee019eae7c2ef6ca6237fc8af Mon Sep 17 00:00:00 2001 From: Philippe Schenker Date: Wed, 30 Jan 2019 10:32:09 +0100 Subject: 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 --- drivers/thermal/imx_thermal.c | 4 ++-- 1 file 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; -- cgit v1.2.3