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

Commit f9da89f3 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: Select lpm for isolated cpu when sleep is disabled"

parents 2fcd6d4d ce47b1c9
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -691,7 +691,7 @@ static int cpu_power_select(struct cpuidle_device *dev,
	if (!cpu)
		return -EINVAL;

	if (sleep_disabled)
	if (sleep_disabled && !cpu_isolated(dev->cpu))
		return 0;

	idx_restrict = cpu->nlevels + 1;