diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2023-06-21 01:39:41 +0300 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2023-06-21 01:39:41 +0300 |
commit | c74e2ac2383fd687bf2f8dd3f29f674cbd0cdaea (patch) | |
tree | f7578a143f5b12dd0ee6d75b4cb0e3906156c2d0 /drivers | |
parent | 2e30b9734398ad8f29432da63a97728326050536 (diff) | |
parent | 0bb619f9227aa370330d2b309733d74750705053 (diff) | |
download | linux-c74e2ac2383fd687bf2f8dd3f29f674cbd0cdaea.tar.xz |
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 'drivers')
-rw-r--r-- | drivers/thermal/intel/intel_soc_dts_iosf.c | 2 |
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 |