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 <[email protected]>
Cc: Alexandre Belloni <[email protected]>
Cc: Lee Jones <[email protected]>
Cc: Nishanth Menon <[email protected]>
Cc: Laxman Dewangan <[email protected]>
Signed-off-by: Grygorii Strashko <[email protected]>
---
 drivers/rtc/rtc-as3722.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/rtc/rtc-as3722.c b/drivers/rtc/rtc-as3722.c
index 56cc582..6ef0c88 100644
--- a/drivers/rtc/rtc-as3722.c
+++ b/drivers/rtc/rtc-as3722.c
@@ -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",
-- 
2.7.2

Reply via email to