summaryrefslogtreecommitdiff
path: root/kernel/power/Kconfig
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/power/Kconfig')
-rw-r--r--kernel/power/Kconfig12
1 files changed, 12 insertions, 0 deletions
diff --git a/kernel/power/Kconfig b/kernel/power/Kconfig
index 836b0bb196e1..06b41d8ea86d 100644
--- a/kernel/power/Kconfig
+++ b/kernel/power/Kconfig
@@ -21,6 +21,9 @@ config SUSPEND_FREEZER
config HAS_WAKELOCK
bool
+config HAS_EARLYSUSPEND
+ bool
+
config WAKELOCK
bool "Wake lock"
depends on PM && RTC_CLASS
@@ -37,6 +40,15 @@ config WAKELOCK_STAT
---help---
Report wake lock stats in /proc/wakelocks
+config EARLYSUSPEND
+ bool "Early suspend"
+ depends on WAKELOCK
+ default y
+ select HAS_EARLYSUSPEND
+ ---help---
+ Call early suspend handlers when the user requested sleep state
+ changes.
+
config HIBERNATE_CALLBACKS
bool