mirror of
				https://github.com/torvalds/linux.git
				synced 2025-11-04 10:40:15 +02:00 
			
		
		
		
	extcon: palmas: Drop IRQF_EARLY_RESUME flag
Palams extcon IRQs are nested threaded and wired to the Palmas
inerrupt controller. So, this flag is not required for nested irqs
anymore, since commit 3c646f2c6a ("genirq: Don't suspend
nested_thread irqs over system suspend") was merged.
Cc: MyungJoo Ham <myungjoo.ham@samsung.com>
Cc: Chanwoo Choi <cw00.choi@samsung.com>
Cc: Tony Lindgren <tony@atomide.com>
Cc: Lee Jones <lee.jones@linaro.org>
Cc: Roger Quadros <rogerq@ti.com>
Cc: Nishanth Menon <nm@ti.com>
Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com>
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
			
			
This commit is contained in:
		
							parent
							
								
									0331966df0
								
							
						
					
					
						commit
						ae64e42cc2
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -278,7 +278,7 @@ static int palmas_usb_probe(struct platform_device *pdev)
 | 
			
		|||
				palmas_usb->id_irq,
 | 
			
		||||
				NULL, palmas_id_irq_handler,
 | 
			
		||||
				IRQF_TRIGGER_FALLING | IRQF_TRIGGER_RISING |
 | 
			
		||||
				IRQF_ONESHOT | IRQF_EARLY_RESUME,
 | 
			
		||||
				IRQF_ONESHOT,
 | 
			
		||||
				"palmas_usb_id", palmas_usb);
 | 
			
		||||
		if (status < 0) {
 | 
			
		||||
			dev_err(&pdev->dev, "can't get IRQ %d, err %d\n",
 | 
			
		||||
| 
						 | 
				
			
			@ -316,7 +316,7 @@ static int palmas_usb_probe(struct platform_device *pdev)
 | 
			
		|||
				palmas_usb->vbus_irq, NULL,
 | 
			
		||||
				palmas_vbus_irq_handler,
 | 
			
		||||
				IRQF_TRIGGER_FALLING | IRQF_TRIGGER_RISING |
 | 
			
		||||
				IRQF_ONESHOT | IRQF_EARLY_RESUME,
 | 
			
		||||
				IRQF_ONESHOT,
 | 
			
		||||
				"palmas_usb_vbus", palmas_usb);
 | 
			
		||||
		if (status < 0) {
 | 
			
		||||
			dev_err(&pdev->dev, "can't get IRQ %d, err %d\n",
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in a new issue