Skip to contentSkip to conversation

imx: imx9: Set correct critical temperature

PATCH Applied Primoz Fiser 2 participants 2 messages Aug 13, 2024 – Aug 23, 2024

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 imx: imx9: Set correct critical temperature

Commit 3233349fa6e2 ("imx: imx9: fixup thermal trips from fuses") wrongly set critical temperature to (maxc - 5) instead of maxc.

Fixes 3233349fa6e2 ("imx: imx9: fixup thermal trips from fuses")
---
 arch/arm/mach-imx/imx9/soc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/mach-imx/imx9/soc.c +1 -1
index 32208220b207..f88e7a222dd4 100644
@@ -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) {
Signature · 1 line
2.34.1
reviewer Applied
#1 lore raw
Quoted 6 lines · Primoz Fiser

Commit 3233349fa6e2 ("imx: imx9: fixup thermal trips from fuses") wrongly set critical temperature to (maxc - 5) instead of maxc.

Fixes 3233349fa6e2 ("imx: imx9: fixup thermal trips from fuses")

Applied, thanks.