OSDN Git Service

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)
committerIliyan Malchev <malchev@google.com>
Mon, 23 May 2011 22:41:25 +0000 (15:41 -0700)
commit3c844e720fae8bf91df37b20d15907eb0e845e8f
treecc2b4a26e5c468249006c5c0fa7dbfd54a4b20bf
parente9b15fed375c2de2d388c6c688076c1dffb049c7
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