imx: imx9: Set correct critical temperature
Commit3233349fa6("imx: imx9: fixup thermal trips from fuses") wrongly set critical temperature to (maxc - 5) instead of maxc. Fixes:3233349fa6("imx: imx9: fixup thermal trips from fuses") Signed-off-by: Primoz Fiser <primoz.fiser@norik.com>
This commit is contained in:
committed by
Fabio Estevam
parent
4c0b5639f1
commit
8827ec575e
@@ -536,7 +536,7 @@ static int fixup_thermal_trips(void *blob, const char *name)
|
||||
|
||||
temp = 0;
|
||||
if (!strcmp(type, "critical"))
|
||||
temp = 1000 * (maxc - 5);
|
||||
temp = 1000 * maxc;
|
||||
else if (!strcmp(type, "passive"))
|
||||
temp = 1000 * (maxc - 10);
|
||||
if (temp) {
|
||||
|
||||
Reference in New Issue
Block a user