aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2023-06-20 15:39:41 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2023-06-20 15:39:41 -0700
commitc74e2ac2383fd687bf2f8dd3f29f674cbd0cdaea (patch)
treef7578a143f5b12dd0ee6d75b4cb0e3906156c2d0
parentMerge tag 'trace-v6.4-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace (diff)
parentthermal/intel/intel_soc_dts_iosf: Fix reporting wrong temperatures (diff)
downloadwireguard-linux-c74e2ac2383fd687bf2f8dd3f29f674cbd0cdaea.tar.xz
wireguard-linux-c74e2ac2383fd687bf2f8dd3f29f674cbd0cdaea.zip
Merge tag 'thermal-6.4-rc8' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm
Pull thermal control fix from Rafael Wysocki: "Fix a regression introduced during the 6.3 cycle causing intel_soc_dts_iosf to report incorrect temperature values due to a coding mistake (Hans de Goede)" * tag 'thermal-6.4-rc8' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm: thermal/intel/intel_soc_dts_iosf: Fix reporting wrong temperatures
Diffstat (limited to '')
-rw-r--r--drivers/thermal/intel/intel_soc_dts_iosf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/thermal/intel/intel_soc_dts_iosf.c b/drivers/thermal/intel/intel_soc_dts_iosf.c
index f99dc7e4ae89..db97499f4f0a 100644
--- a/drivers/thermal/intel/intel_soc_dts_iosf.c
+++ b/drivers/thermal/intel/intel_soc_dts_iosf.c
@@ -398,7 +398,7 @@ struct intel_soc_dts_sensors *intel_soc_dts_iosf_init(
spin_lock_init(&sensors->intr_notify_lock);
mutex_init(&sensors->dts_update_lock);
sensors->intr_type = intr_type;
- sensors->tj_max = tj_max;
+ sensors->tj_max = tj_max * 1000;
if (intr_type == INTEL_SOC_DTS_INTERRUPT_NONE)
notification = false;
else