소스 검색

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

Zhang Rui 10 년 전
부모
커밋
9ceaa81efd
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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 {