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

Commit 813aa776 authored by Maulik Shah's avatar Maulik Shah
Browse files

genirq: Use irq_set_affinity_locked to change irq affinity



Currently PM QoS is not getting notifications if irq affinity
is changed by core isolation with irq_do_set_affinity.

Use irq_set_affinity_locked instead to get notifications when
updating affinity.

Change-Id: Iab745a23637d9353f730ca77ac7e92cf61b1bf67
Signed-off-by: default avatarMaulik Shah <mkshah@codeaurora.org>
parent 316c074a
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -47,7 +47,7 @@ static bool migrate_one_irq(struct irq_desc *desc)
	if (!c->irq_set_affinity) {
		pr_debug("IRQ%u: unable to set affinity\n", d->irq);
	} else {
		int r = irq_do_set_affinity(d, affinity, false);
		int r = irq_set_affinity_locked(d, affinity, false);
		if (r)
			pr_warn_ratelimited("IRQ%u: set affinity failed(%d).\n",
					    d->irq, r);