aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Marklund <[email protected]>2012-01-10 15:10:35 -0800
committerLinus Torvalds <[email protected]>2012-01-10 16:30:52 -0800
commit10d065e65b0be33e868f9c6da67026b5111480d8 (patch)
tree8cd847ee24e44791c9d214af5ad6772072872c5f
parentc92182ee0b5a33c74e4b6c0ded36166e4ef3bc3e (diff)
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 <[email protected]> Signed-off-by: Linus Walleij <[email protected]> Cc: Alessandro Zummo <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
-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;