diff options
author | Arve Hjønnevåg <arve@android.com> | 2008-10-15 17:52:20 -0700 |
---|---|---|
committer | Arve Hjønnevåg <arve@android.com> | 2009-04-07 16:43:05 -0700 |
commit | 0083b2afe89dea4a06bfd967b164318ad0bccd11 (patch) | |
tree | 7c415fe24820b27b131f07abb7004ea887127a32 /kernel/power/Kconfig | |
parent | 3f8e407c418205252f00615da4d0182e8c960344 (diff) |
PM: earlysuspend: Add console switch when user requested sleep state changes.
Signed-off-by: Arve Hjønnevåg <arve@android.com>
Diffstat (limited to 'kernel/power/Kconfig')
-rw-r--r-- | kernel/power/Kconfig | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/kernel/power/Kconfig b/kernel/power/Kconfig index dd6910d11b56..36e442fc2ff9 100644 --- a/kernel/power/Kconfig +++ b/kernel/power/Kconfig @@ -157,6 +157,23 @@ config EARLYSUSPEND Call early suspend handlers when the user requested sleep state changes. +choice + prompt "User-space screen access" + default CONSOLE_EARLYSUSPEND + depends on HAS_EARLYSUSPEND + + config NO_USER_SPACE_SCREEN_ACCESS_CONTROL + bool "None" + + config CONSOLE_EARLYSUSPEND + bool "Console switch on early-suspend" + depends on HAS_EARLYSUSPEND && VT + ---help--- + Register early suspend handler to perform a console switch to + when user-space should stop drawing to the screen and a switch + back when it should resume. +endchoice + config HIBERNATION bool "Hibernation (aka 'suspend to disk')" depends on PM && SWAP && ARCH_HIBERNATION_POSSIBLE |