summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPrimoz Fiser <[email protected]>2024-08-13 14:12:17 +0200
committerFabio Estevam <[email protected]>2024-08-23 14:49:26 -0300
commit8827ec575e3f5708e41a7dd440393aac28dce2b5 (patch)
treec4d37419bb01c8b81a325a5461e08e2aad0494ef
parent4c0b5639f19586d928dfd3cca736db82ea6a0952 (diff)
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") Signed-off-by: Primoz Fiser <[email protected]>
-rw-r--r--arch/arm/mach-imx/imx9/soc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-imx/imx9/soc.c b/arch/arm/mach-imx/imx9/soc.c
index 32208220b20..f88e7a222dd 100644
--- a/arch/arm/mach-imx/imx9/soc.c
+++ b/arch/arm/mach-imx/imx9/soc.c
@@ -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) {