Skip to content

Commit e8ea543

Browse files
committed
Merge branch 'fixes' into linux-next
* fixes: thermal: intel: x86_pkg_temp_thermal: Fix bogus trip temperature
2 parents f20025d + cf948c8 commit e8ea543

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

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)