Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 41d9e0ad authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

Merge "drivers: thermal: step_wise: Clear mitigation on reaching clear threshold"

parents ade7db3d 283d4fd3
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -96,7 +96,8 @@ static unsigned long get_target_state(struct thermal_instance *instance,
		break;
	case THERMAL_TREND_DROPPING:
	case THERMAL_TREND_STABLE:
		if (cur_state <= instance->lower) {
		if (cur_state <= instance->lower ||
			instance->target <= instance->lower) {
			if (!throttle)
				next_target = THERMAL_NO_TARGET;
		} else {