rtc: palmas: Drop IRQF_EARLY_RESUME flag
authorGrygorii Strashko <grygorii.strashko@ti.com>
Fri, 26 Feb 2016 15:42:52 +0000 (17:42 +0200)
committerAlexandre Belloni <alexandre.belloni@free-electrons.com>
Mon, 14 Mar 2016 16:08:22 +0000 (17:08 +0100)
Palams RTC IRQ is 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: Alessandro Zummo <a.zummo@towertech.it>
Cc: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Cc: Tony Lindgren <tony@atomide.com>
Cc: Lee Jones <lee.jones@linaro.org>
Cc: Nishanth Menon <nm@ti.com>
Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
drivers/rtc/rtc-palmas.c

index 7ea2c471feca3864a20612b9720e25314b5f5e77..6080e0edef6328aa7d221ef48cc69c564b526a7a 100644 (file)
@@ -311,8 +311,7 @@ static int palmas_rtc_probe(struct platform_device *pdev)
 
        ret = devm_request_threaded_irq(&pdev->dev, palmas_rtc->irq, NULL,
                        palmas_rtc_interrupt,
-                       IRQF_TRIGGER_LOW | IRQF_ONESHOT |
-                       IRQF_EARLY_RESUME,
+                       IRQF_TRIGGER_LOW | IRQF_ONESHOT,
                        dev_name(&pdev->dev), palmas_rtc);
        if (ret < 0) {
                dev_err(&pdev->dev, "IRQ request failed, err = %d\n", ret);