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)
committerArve Hjønnevåg <arve@android.com>
Thu, 4 Feb 2010 05:27:05 +0000 (21:27 -0800)
commit5f36bdf15970bf5ef97dce533ddac32d85191d6b
tree0cc133b9a29ed5b7ee78c430df226910914260a6
parent74643fdcc38e8806e630cc83ce0f114808ee50ff
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