From: Robert Marklund Date: Tue, 10 Jan 2012 23:10:35 +0000 (-0800) Subject: rtc/ab8500: don't disable IRQ:s when suspending X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=10d065e65b0be33e868f9c6da67026b5111480d8;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git rtc/ab8500: don't disable IRQ:s when suspending We want this driver to be able to wake up the system. Signed-off-by: Robert Marklund Signed-off-by: Linus Walleij Cc: Alessandro Zummo Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/drivers/rtc/rtc-ab8500.c b/drivers/rtc/rtc-ab8500.c index e346705aae92..d6bfc4f3658e 100644 --- a/drivers/rtc/rtc-ab8500.c +++ b/drivers/rtc/rtc-ab8500.c @@ -316,8 +316,8 @@ static int __devinit ab8500_rtc_probe(struct platform_device *pdev) return err; } - err = request_threaded_irq(irq, NULL, rtc_alarm_handler, 0, - "ab8500-rtc", rtc); + err = request_threaded_irq(irq, NULL, rtc_alarm_handler, + IRQF_NO_SUSPEND, "ab8500-rtc", rtc); if (err < 0) { rtc_device_unregister(rtc); return err;