aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/thermal/step_wise.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/thermal/step_wise.c b/drivers/thermal/step_wise.c
index f251521baaa2..6705a0d746b3 100644
--- a/drivers/thermal/step_wise.c
+++ b/drivers/thermal/step_wise.c
@@ -76,7 +76,7 @@ static unsigned long get_target_state(struct thermal_instance *instance,
76 next_target = instance->upper; 76 next_target = instance->upper;
77 break; 77 break;
78 case THERMAL_TREND_DROPPING: 78 case THERMAL_TREND_DROPPING:
79 if (cur_state == instance->lower) { 79 if (cur_state <= instance->lower) {
80 if (!throttle) 80 if (!throttle)
81 next_target = THERMAL_NO_TARGET; 81 next_target = THERMAL_NO_TARGET;
82 } else { 82 } else {