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)
committerDan Willemsen <dwillemsen@nvidia.com>
Thu, 1 Dec 2011 05:37:52 +0000 (21:37 -0800)
commitb766d576834f8f61dbc47e0e8e5cddf035a4bd69
tree9289ad8e72b20682c9979db1d6bf7db41d3fd224
parent10369c2de4b5f7d7e2e94290c230a5acc77fa2fd
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