diff options
author | Grygorii Strashko <grygorii.strashko@ti.com> | 2016-02-26 10:42:51 -0500 |
---|---|---|
committer | Chanwoo Choi <cw00.choi@samsung.com> | 2016-02-28 21:07:34 -0500 |
commit | ae64e42cc2b3a17ac0c11815f53211093a54cf55 (patch) | |
tree | ab50bb270e5c7d82dc2e6f0733567f974e8862df | |
parent | 0331966df0a288236bea6489420a35a0ca1e9043 (diff) |
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 3c646f2c6aa9 ("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>
-rw-r--r-- | drivers/extcon/extcon-palmas.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/extcon/extcon-palmas.c b/drivers/extcon/extcon-palmas.c index 885ee95a6a7b..841a4b586395 100644 --- a/drivers/extcon/extcon-palmas.c +++ b/drivers/extcon/extcon-palmas.c | |||
@@ -278,7 +278,7 @@ static int palmas_usb_probe(struct platform_device *pdev) | |||
278 | palmas_usb->id_irq, | 278 | palmas_usb->id_irq, |
279 | NULL, palmas_id_irq_handler, | 279 | NULL, palmas_id_irq_handler, |
280 | IRQF_TRIGGER_FALLING | IRQF_TRIGGER_RISING | | 280 | IRQF_TRIGGER_FALLING | IRQF_TRIGGER_RISING | |
281 | IRQF_ONESHOT | IRQF_EARLY_RESUME, | 281 | IRQF_ONESHOT, |
282 | "palmas_usb_id", palmas_usb); | 282 | "palmas_usb_id", palmas_usb); |
283 | if (status < 0) { | 283 | if (status < 0) { |
284 | dev_err(&pdev->dev, "can't get IRQ %d, err %d\n", | 284 | 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) | |||
316 | palmas_usb->vbus_irq, NULL, | 316 | palmas_usb->vbus_irq, NULL, |
317 | palmas_vbus_irq_handler, | 317 | palmas_vbus_irq_handler, |
318 | IRQF_TRIGGER_FALLING | IRQF_TRIGGER_RISING | | 318 | IRQF_TRIGGER_FALLING | IRQF_TRIGGER_RISING | |
319 | IRQF_ONESHOT | IRQF_EARLY_RESUME, | 319 | IRQF_ONESHOT, |
320 | "palmas_usb_vbus", palmas_usb); | 320 | "palmas_usb_vbus", palmas_usb); |
321 | if (status < 0) { | 321 | if (status < 0) { |
322 | dev_err(&pdev->dev, "can't get IRQ %d, err %d\n", | 322 | dev_err(&pdev->dev, "can't get IRQ %d, err %d\n", |