summaryrefslogtreecommitdiffstats
path: root/drivers/rtc/rtc-ab8500.c
diff options
context:
space:
mode:
authorRobert Marklund <robert.marklund@stericsson.com>2012-01-11 00:10:35 +0100
committerLinus Torvalds <torvalds@linux-foundation.org>2012-01-11 01:30:52 +0100
commit10d065e65b0be33e868f9c6da67026b5111480d8 (patch)
tree8cd847ee24e44791c9d214af5ad6772072872c5f /drivers/rtc/rtc-ab8500.c
parentdrivers/rtc/rtc-mxc.c: make alarm work (diff)
downloadlinux-10d065e65b0be33e868f9c6da67026b5111480d8.tar.xz
linux-10d065e65b0be33e868f9c6da67026b5111480d8.zip
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 <robert.marklund@stericsson.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Cc: Alessandro Zummo <a.zummo@towertech.it> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to '')
-rw-r--r--drivers/rtc/rtc-ab8500.c4
1 files changed, 2 insertions, 2 deletions
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;