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

Commit 5dcafbd2 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "msm: vidc: Allow video session during critical thermal level"

parents f9b9647b 2a4fd9f7
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -1835,8 +1835,7 @@ static bool is_thermal_permissible(struct msm_vidc_core *core)
		"Core freq %ld Thermal level %d Turbo mode %d\n",
		freq, tl, is_turbo);

	if ((!is_turbo && tl >= VIDC_THERMAL_CRITICAL) ||
				(is_turbo && tl >= VIDC_THERMAL_LOW)) {
	if (is_turbo && tl >= VIDC_THERMAL_LOW) {
		dprintk(VIDC_ERR,
			"Video session not allowed. Turbo mode %d Thermal level %d\n",
			is_turbo, tl);