Browse Source

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

Zhang Rui 10 năm trước cách đây
mục cha
commit
9ceaa81efd
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      drivers/thermal/step_wise.c

+ 1 - 1
drivers/thermal/step_wise.c

@@ -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 {