Commit 9ceaa81e authored by Zhang Rui's avatar Zhang Rui

Merge branch 'thermal-core-fix' of .git into next

parents dd634666 26bb0e9a
...@@ -77,7 +77,7 @@ static unsigned long get_target_state(struct thermal_instance *instance, ...@@ -77,7 +77,7 @@ static unsigned long get_target_state(struct thermal_instance *instance,
next_target = instance->upper; next_target = instance->upper;
break; break;
case THERMAL_TREND_DROPPING: case THERMAL_TREND_DROPPING:
if (cur_state == instance->lower) { if (cur_state <= instance->lower) {
if (!throttle) if (!throttle)
next_target = THERMAL_NO_TARGET; next_target = THERMAL_NO_TARGET;
} else { } else {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment