diff options
author | Laxman Dewangan <ldewangan@nvidia.com> | 2013-02-22 00:44:35 (GMT) |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2013-02-22 01:22:28 (GMT) |
commit | eb5eba4ef72248b976465906cfed5fca2e9d8831 (patch) | |
tree | 9bbe3909fae02a5c134f095faea8d27ed2690423 /arch/arm/plat-versatile | |
parent | 36d6182411b9f597f9f85ec0c4bb00909fd16d59 (diff) | |
download | linux-eb5eba4ef72248b976465906cfed5fca2e9d8831.tar.xz |
drivers/rtc/rtc-tps65910.c: enable/disable wake in suspend/resume
Making the rtc driver as wakeup capabale and leaving the wake
enable/disable decision to user space through a sysfs attribute.
In suspend, enable wake if device wakeup enabled. In resume disable wake
again.
This change is inline with the Documentation/power/devices.txt#
/sys/devices/.../power/wakeup files
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Cc: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/arm/plat-versatile')
0 files changed, 0 insertions, 0 deletions