ASoC: jack: Use power efficient workqueue
Mark Brown
maintainerPATCH 1/1 ASoC: jack: Use power efficient workqueue
From: Mark Brown <[email protected]>
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 Mark Brown <[email protected]>
--- sound/soc/soc-jack.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
sound/soc/soc-jack.c +1 -1
@@ -263,7 +263,7 @@ static irqreturn_t gpio_handler(int irq, void *data)if (device_may_wakeup (dev))pm_wakeup_event (dev, gpio->debounce_time +50 ); -schedule_delayed_work (&gpio->work, +queue_delayed_work (system_power_efficient_wq, &gpio->work,msecs_to_jiffies (gpio->debounce_time));return IRQ_HANDLED ;
Signature · 1 line
1.8.3.2
Quoted 10 lines · Mark Brown
From: Mark Brown <[email protected]>
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 Mark Brown <[email protected]>--- sound/soc/soc-jack.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Acked-by Viresh Kumar <[email protected]>