Skip to content

Commit 6b4dece

Browse files
committed
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
1 parent 28cef16 commit 6b4dece

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

drivers/thermal/gov_step_wise.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@
2323
* b. if the trend is THERMAL_TREND_DROPPING, do nothing
2424
* If the temperature is lower than a trip point,
2525
* a. if the trend is THERMAL_TREND_RAISING, do nothing
26-
* b. if the trend is THERMAL_TREND_DROPPING, use lower cooling
27-
* state for this trip point, if the cooling state already
26+
* b. if the trend is THERMAL_TREND_DROPPING, use the minimum applicable
27+
* cooling state for this trip point, or if the cooling state already
2828
* equals lower limit, deactivate the thermal instance
2929
*/
3030
static unsigned long get_target_state(struct thermal_instance *instance,

0 commit comments

Comments
 (0)