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

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

Merge "cpuidle: lpm-levels: select default level for cluster lpms"

parents 880270b0 63d9cd18
Loading
Loading
Loading
Loading
+5 −3
Original line number Diff line number Diff line
@@ -643,9 +643,11 @@ static int cluster_configure(struct lpm_cluster *cluster, int idx,
		cpumask_copy(&cpumask, cpumask_of(cpu));
		nextcpu = level->disable_dynamic_routing ? NULL : &cpumask;

		if (sys_pm_ops && sys_pm_ops->enter)
			if ((sys_pm_ops->enter(nextcpu)))
				return -EBUSY;
		if (sys_pm_ops && sys_pm_ops->enter) {
			ret = sys_pm_ops->enter(nextcpu);
			if (ret)
				goto failed_set_mode;
		}

		if (cluster->no_saw_devices && !use_psci)
			msm_spm_set_rpm_hs(true);