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

Commit da72c961 authored by Mark Brown's avatar Mark Brown
Browse files

ASoC: wm8962: Use power efficient workqueue



The accessory detect debounce work is not performance sensitive so let
the scheduler run it wherever is most efficient rather than in a per CPU
workqueue by using the system power efficient workqueue.

Signed-off-by: default avatarMark Brown <broonie@linaro.org>
Acked-by: default avatarViresh Kumar <viresh.kumar@linaro.org>
parent 444fc4b3
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -3044,7 +3044,8 @@ static irqreturn_t wm8962_irq(int irq, void *data)

		pm_wakeup_event(dev, 300);

		schedule_delayed_work(&wm8962->mic_work,
		queue_delayed_work(system_power_efficient_wq,
				   &wm8962->mic_work,
				   msecs_to_jiffies(250));
	}