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)
committermgross <mark.gross@intel.com>
Wed, 9 Nov 2011 20:01:29 +0000 (12:01 -0800)
commit1989f6033b3f6d8cb5ffe066e1b4c015c73360e9
tree70ac0112ba328fd7cdda392423cd5dca08138ec1
parent9fb9970ddf51780d5f4bf3f13a6d774c56f18141
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