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

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

Merge "lpm-levels: Do not consider cluster residency in suspend"

parents 3483aeea 1f3e4d51
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -957,8 +957,9 @@ static int cluster_select(struct lpm_cluster *cluster, bool from_idle,

		best_level = i;

		if (predicted ? (pred_us <= pwr_params->max_residency)
			: (sleep_us <= pwr_params->max_residency))
		if (from_idle &&
			(predicted ? (pred_us <= pwr_params->max_residency)
			: (sleep_us <= pwr_params->max_residency)))
			break;
	}