From 86469fc4900bbd2e4919c1a5c8f505ecd83c5f0e Mon Sep 17 00:00:00 2001 From: Philippe Schenker Date: Mon, 17 Dec 2018 15:34:22 +0100 Subject: 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 Acked-by: Max Krummenacher (cherry picked from commit 308edefe57c5c96fad196b6e65fa159857e969f3) --- drivers/thermal/imx_thermal.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'drivers/thermal/imx_thermal.c') diff --git a/drivers/thermal/imx_thermal.c b/drivers/thermal/imx_thermal.c index 449d0fb0ce36..b44123d6017b 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; -- cgit v1.2.3