PM: Enable early suspend through /sys/power/state
authorArve Hjønnevåg <arve@android.com>
Fri, 10 Oct 2008 02:17:11 +0000 (19:17 -0700)
committerColin Cross <ccross@android.com>
Thu, 30 Sep 2010 00:49:07 +0000 (17:49 -0700)
commitf104aa02b88eba92dfc9bfe377aa26cc1e94c8d0
tree1374d02d7c57eebd6a2baa8aa8daf49c8c9967c0
parentadc899ef783afe9a2f8ffc6f76b9483286a513bb
PM: Enable early suspend through /sys/power/state

If EARLYSUSPEND is enabled then writes to /sys/power/state no longer
blocks, and the kernel will try to enter the requested state every
time no wakelocks are held. Write "on" to resume normal operation.
kernel/power/main.c
kernel/power/suspend.c