mirror of
				git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
				synced 2025-10-31 16:54:21 +00:00 
			
		
		
		
	extcon: gpio: Use power efficient workqueue for debounce
The debounce timeout is generally quite long and the work not performance critical so allow the scheduler to run the work anywhere rather than in the normal per-CPU workqueue. Signed-off-by: Mark Brown <broonie@linaro.org> Acked-by: Viresh Kumar <viresh.kumar@linaro.org> Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com> Signed-off-by: Myungjoo Ham <myungjoo.ham@samsung.com>
This commit is contained in:
		
							parent
							
								
									df9a5ab463
								
							
						
					
					
						commit
						d0db2e7ae7
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -56,7 +56,7 @@ static irqreturn_t gpio_irq_handler(int irq, void *dev_id) | |||
| { | ||||
| 	struct gpio_extcon_data *extcon_data = dev_id; | ||||
| 
 | ||||
| 	schedule_delayed_work(&extcon_data->work, | ||||
| 	queue_delayed_work(system_power_efficient_wq, &extcon_data->work, | ||||
| 			      extcon_data->debounce_jiffies); | ||||
| 	return IRQ_HANDLED; | ||||
| } | ||||
|  |  | |||
		Loading…
	
	Add table
		
		Reference in a new issue
	
	 Mark Brown
						Mark Brown