瀏覽代碼

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 {