diff options
author | Laxman Dewangan <ldewangan@nvidia.com> | 2013-02-21 16:44:35 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2013-02-21 17:22:28 -0800 |
commit | eb5eba4ef72248b976465906cfed5fca2e9d8831 (patch) | |
tree | 9bbe3909fae02a5c134f095faea8d27ed2690423 /mm | |
parent | 36d6182411b9f597f9f85ec0c4bb00909fd16d59 (diff) | |
download | linux-3.10-eb5eba4ef72248b976465906cfed5fca2e9d8831.tar.gz linux-3.10-eb5eba4ef72248b976465906cfed5fca2e9d8831.tar.bz2 linux-3.10-eb5eba4ef72248b976465906cfed5fca2e9d8831.zip |
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 'mm')
0 files changed, 0 insertions, 0 deletions