aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>2025-08-25 15:28:34 +0200
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2025-09-04 21:28:01 +0200
commit6b4decef4c9454a9121109788fae761319ea44b4 (patch)
tree3216a3b03a3336665357ed69b0ed94c33d8fd734
parentthermal: gov_step_wise: Clean up local variable initialization (diff)
downloadlinux-6b4decef4c9454a9121109788fae761319ea44b4.tar.gz
linux-6b4decef4c9454a9121109788fae761319ea44b4.zip
thermal: gov_step_wise: Clarify cooling logic description comment
The cooling logic description comment next to the get_target_state() definition is slightly ambiguous in what it means by "lower cooling state", so clarify that by replacing the ambuguous phrase with "the minimum applicable cooling state". No functional impact. Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com> Reviewed-by: Lukasz Luba <lukasz.luba@arm.com> Link: https://patch.msgid.link/4690596.LvFx2qVVIh@rafael.j.wysocki
-rw-r--r--drivers/thermal/gov_step_wise.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/thermal/gov_step_wise.c b/drivers/thermal/gov_step_wise.c
index 6506ae270101..a29676d3e50d 100644
--- a/drivers/thermal/gov_step_wise.c
+++ b/drivers/thermal/gov_step_wise.c
@@ -23,8 +23,8 @@
* b. if the trend is THERMAL_TREND_DROPPING, do nothing
* If the temperature is lower than a trip point,
* a. if the trend is THERMAL_TREND_RAISING, do nothing
- * b. if the trend is THERMAL_TREND_DROPPING, use lower cooling
- * state for this trip point, if the cooling state already
+ * b. if the trend is THERMAL_TREND_DROPPING, use the minimum applicable
+ * cooling state for this trip point, or if the cooling state already
* equals lower limit, deactivate the thermal instance
*/
static unsigned long get_target_state(struct thermal_instance *instance,