Skip to content

Commit 14e0e8d

Browse files
committed
Merge tag 'thermal-6.19-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm
Pull thermal control fixes from Rafael Wysocki: "These enable a new hardware feature in the int340x thermal driver and fix up comments in the thermal core code: - Set a feature flag in the int340x thermal driver to enable the power slider interface for Wildcat Lake processors (Srinivas Pandruvada) - Fix typo and indentation in comments in the thermal core (Thorsten Blum)" * tag 'thermal-6.19-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm: thermal: core: Fix typo and indentation in comments thermal: intel: int340x: Enable power slider interface for Wildcat Lake
2 parents cf26839 + d113735 commit 14e0e8d

2 files changed

Lines changed: 4 additions & 3 deletions

File tree

drivers/thermal/intel/int340x_thermal/processor_thermal_device_pci.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -503,7 +503,8 @@ static const struct pci_device_id proc_thermal_pci_ids[] = {
503503
{ PCI_DEVICE_DATA(INTEL, WCL_THERMAL, PROC_THERMAL_FEATURE_MSI_SUPPORT |
504504
PROC_THERMAL_FEATURE_RAPL | PROC_THERMAL_FEATURE_DLVR |
505505
PROC_THERMAL_FEATURE_DVFS | PROC_THERMAL_FEATURE_WT_HINT |
506-
PROC_THERMAL_FEATURE_POWER_FLOOR | PROC_THERMAL_FEATURE_PTC) },
506+
PROC_THERMAL_FEATURE_POWER_FLOOR | PROC_THERMAL_FEATURE_PTC |
507+
PROC_THERMAL_FEATURE_SOC_POWER_SLIDER) },
507508
{ PCI_DEVICE_DATA(INTEL, NVL_H_THERMAL, PROC_THERMAL_FEATURE_RAPL |
508509
PROC_THERMAL_FEATURE_DLVR | PROC_THERMAL_FEATURE_DVFS |
509510
PROC_THERMAL_FEATURE_MSI_SUPPORT | PROC_THERMAL_FEATURE_WT_HINT |

drivers/thermal/thermal_core.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -500,7 +500,7 @@ void thermal_zone_set_trip_hyst(struct thermal_zone_device *tz,
500500
WRITE_ONCE(trip->hysteresis, hyst);
501501
thermal_notify_tz_trip_change(tz, trip);
502502
/*
503-
* If the zone temperature is above or at the trip tmperature, the trip
503+
* If the zone temperature is above or at the trip temperature, the trip
504504
* is in the trips_reached list and its threshold is equal to its low
505505
* temperature. It needs to stay in that list, but its threshold needs
506506
* to be updated and the list ordering may need to be restored.
@@ -1043,7 +1043,7 @@ static void thermal_cooling_device_init_complete(struct thermal_cooling_device *
10431043
* @np: a pointer to a device tree node.
10441044
* @type: the thermal cooling device type.
10451045
* @devdata: device private data.
1046-
* @ops: standard thermal cooling devices callbacks.
1046+
* @ops: standard thermal cooling devices callbacks.
10471047
*
10481048
* This interface function adds a new thermal cooling device (fan/processor/...)
10491049
* to /sys/class/thermal/ folder as cooling_device[0-*]. It tries to bind itself

0 commit comments

Comments
 (0)