diff options
author | Mattias Wallin <mattias.wallin@stericsson.com> | 2010-11-11 11:47:47 +0100 |
---|---|---|
committer | Sundar Iyer <sundar.iyer@stericsson.com> | 2010-11-19 14:47:57 +0530 |
commit | 229a6ea9afa08df4eac89b3dbe87bc30987e382e (patch) | |
tree | ed0a4939a557fee2e705fd9f17143073395c0fd8 /drivers/rtc | |
parent | 5f5002ff325f389ffb7e2ad6f6462bb4a67a35c1 (diff) |
IRQF_NO_SUSPEND and ab8500 wake up
This patch changes the use of IRQF_TIMER to IRQF_NO_SUSPEND.
The IRQF_NO_SUSPEND flag will make the system wakeup from suspend.
This patch also makes the system wakeup for AB8500 events.
A few subdrivers to AB8500 irqs are also configured to wake up.
Signed-off-by: Mattias Wallin <mattias.wallin@stericsson.com>
ST-Ericsson ID: ER 277523
Change-Id: I7737656716f81963f48cfb87ebd2c817f0e8cba9
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/8422
Tested-by: Mattias WALLIN <mattias.wallin@stericsson.com>
Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
Diffstat (limited to 'drivers/rtc')
-rw-r--r-- | drivers/rtc/rtc-ab8500.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/rtc/rtc-ab8500.c b/drivers/rtc/rtc-ab8500.c index e346705aae9..d6bfc4f3658 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; |