projects
/
platform
/
kernel
/
linux-exynos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ae824c4
)
drivers/rtc/rtc-da9052.c: register ability of alarm to wake device from suspend
author
Adam Ward
<adam.ward.opensource@diasemi.com>
Thu, 16 Apr 2015 19:45:32 +0000
(12:45 -0700)
committer
Linus Torvalds
<torvalds@linux-foundation.org>
Fri, 17 Apr 2015 13:04:00 +0000
(09:04 -0400)
Signed-off-by: Adam Ward <adam.ward.opensource@diasemi.com>
Tested-by: Adam Ward <adam.ward.opensource@diasemi.com>
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>
drivers/rtc/rtc-da9052.c
patch
|
blob
|
history
diff --git
a/drivers/rtc/rtc-da9052.c
b/drivers/rtc/rtc-da9052.c
index acc3e5a1f61afa60434c9db4aab117217207013c..1ba4371cbc2d7868ebee5dd3136f3ee88b6143f3 100644
(file)
--- a/
drivers/rtc/rtc-da9052.c
+++ b/
drivers/rtc/rtc-da9052.c
@@
-309,6
+309,8
@@
static int da9052_rtc_probe(struct platform_device *pdev)
return ret;
}
+ device_init_wakeup(&pdev->dev, true);
+
rtc->rtc = devm_rtc_device_register(&pdev->dev, pdev->name,
&da9052_rtc_ops, THIS_MODULE);
return PTR_ERR_OR_ZERO(rtc->rtc);