From: Robert Marklund Date: Fri, 2 Dec 2011 03:12:51 +0000 (+1100) Subject: rtc/ab8500: don't disable IRQ:s when suspending X-Git-Tag: next-20111205~1^2~77 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=e9ffc63deeae2a6b8da9b52e64e06c74d3c37cc2;p=karo-tx-linux.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 --- 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;