diff options
author | Todd Poynor <toddpoynor@google.com> | 2011-07-25 19:35:21 -0700 |
---|---|---|
committer | Todd Poynor <toddpoynor@google.com> | 2011-07-25 20:27:56 -0700 |
commit | 1503d58ff02bd2b39056ca2de68d5834d4402074 (patch) | |
tree | 68b46f6b47e9a94ec41f0387944390c6fd658f50 /drivers/rtc | |
parent | 7d24fdd64c2177bf66fb7e9022c182fa5840118d (diff) | |
download | kernel_samsung_espresso10-1503d58ff02bd2b39056ca2de68d5834d4402074.zip kernel_samsung_espresso10-1503d58ff02bd2b39056ca2de68d5834d4402074.tar.gz kernel_samsung_espresso10-1503d58ff02bd2b39056ca2de68d5834d4402074.tar.bz2 |
rtc: twl: Enable RTC IRQ for wakeup
Change-Id: I6316d70f8e34c048edbc7f3773cd6a5de15eece0
Signed-off-by: Todd Poynor <toddpoynor@google.com>
Diffstat (limited to 'drivers/rtc')
-rw-r--r-- | drivers/rtc/rtc-twl.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/rtc/rtc-twl.c b/drivers/rtc/rtc-twl.c index f9a2799..886730e 100644 --- a/drivers/rtc/rtc-twl.c +++ b/drivers/rtc/rtc-twl.c @@ -470,6 +470,9 @@ static int __devinit twl_rtc_probe(struct platform_device *pdev) goto out1; } + if (enable_irq_wake(irq) < 0) + dev_warn(&pdev->dev, "Cannot enable wakeup for IRQ %d\n", irq); + if (twl_class_is_6030()) { twl6030_interrupt_unmask(TWL6030_RTC_INT_MASK, REG_INT_MSK_LINE_A); |