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

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

Merge "msm: lpm-levels: Fix cpu votes for lpm-level nodes"

parents 59a64723 7d24a550
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -731,8 +731,12 @@ static int cluster_cpuidle_register(struct lpm_cluster *cl)
			continue;
		p = per_cpu(cpu_cluster, cpu);
		while (p) {
			int j;
			spin_lock(&p->sync_lock);
			cpumask_set_cpu(cpu, &p->num_childs_in_sync);
			for (j = 0; j < p->nlevels; j++)
				cpumask_copy(&p->levels[j].num_cpu_votes,
						&p->num_childs_in_sync);
			spin_unlock(&p->sync_lock);
			p = p->parent;
		}