Skip to content

Commit 7586ac7

Browse files
committed
Merge tag 'thermal-6.15-rc8' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm
Pull thermal control fix from Rafael Wysocki: "This fixes a coding mistake in the x86_pkg_temp_thermal Intel thermal driver that was introduced by an incorrect conflict resolution during a merge (Zhang Rui)" * tag 'thermal-6.15-rc8' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm: thermal: intel: x86_pkg_temp_thermal: Fix bogus trip temperature
2 parents e0f8e1a + cf948c8 commit 7586ac7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/thermal/intel/x86_pkg_temp_thermal.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -329,6 +329,7 @@ static int pkg_temp_thermal_device_add(unsigned int cpu)
329329
tj_max = intel_tcc_get_tjmax(cpu);
330330
if (tj_max < 0)
331331
return tj_max;
332+
tj_max *= 1000;
332333

333334
zonedev = kzalloc(sizeof(*zonedev), GFP_KERNEL);
334335
if (!zonedev)

0 commit comments

Comments
 (0)