rtc: as3722: Drop IRQF_EARLY_RESUME flag
authorGrygorii Strashko <grygorii.strashko@ti.com>
Fri, 26 Feb 2016 15:42:56 +0000 (17:42 +0200)
committerAlexandre Belloni <alexandre.belloni@free-electrons.com>
Mon, 14 Mar 2016 16:08:25 +0000 (17:08 +0100)
as3722 RTC IRQ is nested threaded and wired to the as3722 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: Lee Jones <lee.jones@linaro.org>
Cc: Nishanth Menon <nm@ti.com>
Cc: Laxman Dewangan <ldewangan@nvidia.com>
Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
drivers/rtc/rtc-as3722.c

index 56cc5821118bfbcaf1c71eb5a334595d93fbc18e..6ef0c887e6cad2f2d11003c941bc7ac3af854abc 100644 (file)
@@ -210,7 +210,7 @@ static int as3722_rtc_probe(struct platform_device *pdev)
        dev_info(&pdev->dev, "RTC interrupt %d\n", as3722_rtc->alarm_irq);
 
        ret = devm_request_threaded_irq(&pdev->dev, as3722_rtc->alarm_irq, NULL,
-                       as3722_alarm_irq, IRQF_ONESHOT | IRQF_EARLY_RESUME,
+                       as3722_alarm_irq, IRQF_ONESHOT,
                        "rtc-alarm", as3722_rtc);
        if (ret < 0) {
                dev_err(&pdev->dev, "Failed to request alarm IRQ %d: %d\n",