Patchwork [1/3] rtc/ab8500: don't disable IRQ:s when suspending

login
register
mail settings
Submitter Linus Walleij
Date Sept. 29, 2011, 1:46 p.m.
Message ID <1317304018-29006-1-git-send-email-linus.walleij@stericsson.com>
Download mbox | patch
Permalink /patch/116951/
State New
Headers show

Comments

Linus Walleij - Sept. 29, 2011, 1:46 p.m.
From: Robert Marklund <robert.marklund@stericsson.com>

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>
---
 drivers/rtc/rtc-ab8500.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
Linus Walleij - Nov. 22, 2011, 9:39 a.m.
On Thu, Sep 29, 2011 at 3:46 PM, Linus Walleij
<linus.walleij@stericsson.com> wrote:

> From: Robert Marklund <robert.marklund@stericsson.com>
>
> 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>

If there are no problems with these three patches, can they be applied?

Yours,
Linus Walleij

Patch

diff --git a/drivers/rtc/rtc-ab8500.c b/drivers/rtc/rtc-ab8500.c
index e346705..d6bfc4f 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;