1
0
Fork 0

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

hifive-unleashed-5.1
Zhang Rui 2014-10-11 09:28:13 +08:00
commit 9ceaa81efd
1 changed files with 1 additions and 1 deletions

View File

@ -77,7 +77,7 @@ static unsigned long get_target_state(struct thermal_instance *instance,
next_target = instance->upper;
break;
case THERMAL_TREND_DROPPING:
if (cur_state == instance->lower) {
if (cur_state <= instance->lower) {
if (!throttle)
next_target = THERMAL_NO_TARGET;
} else {