summaryrefslogtreecommitdiff
path: root/kernel
diff options
context:
space:
mode:
authorNaveen Kumar S <nkumars@nvidia.com>2013-06-28 19:33:22 +0530
committerDan Willemsen <dwillemsen@nvidia.com>2013-09-14 13:32:04 -0700
commit7d45b5e11e03b0918f86091b900c2b10c6610635 (patch)
tree68f8f230d7afa1a9e37fa47f8c51efb6e472a2ee /kernel
parentd8483318a75c57e1c064d6fdad6d8d7dd1305972 (diff)
PM: Add prompt and help for wakelock in Kconfig
Adding bool prompt and help description for CONFIG_WAKELOCK and CONFIG_HAS_WAKELOCK options in Kconfig file to ease menuconfig operations Bug 1314808 Change-Id: I5c450ef0994a08c1bf51e8c9849bb96c69c69081 Signed-off-by: Naveen Kumar S <nkumars@nvidia.com> Reviewed-on: http://git-master/r/243459 (cherry picked from commit 2dda2db4db3fca12301cab3b9c59fba758573652) Reviewed-on: http://git-master/r/244781 (cherry picked from commit f3c8128a972e0e9f4df0a6b3d364cb14b5f29a9c) Reviewed-on: http://git-master/r/247680 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Kiran Adduri <kadduri@nvidia.com> Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Diffstat (limited to 'kernel')
-rw-r--r--kernel/power/Kconfig16
1 files changed, 14 insertions, 2 deletions
diff --git a/kernel/power/Kconfig b/kernel/power/Kconfig
index 5dd99f7b0ff7..bc010f7506f9 100644
--- a/kernel/power/Kconfig
+++ b/kernel/power/Kconfig
@@ -19,12 +19,24 @@ config SUSPEND_FREEZER
Turning OFF this setting is NOT recommended! If in doubt, say Y.
config HAS_WAKELOCK
- bool
+ bool "Has Wakelock"
default y
+ help
+ A wake_lock prevents the system from entering suspend or
+ other low power states when active.
+ Wake_lock has options to stop the system from suspending if a
+ module holding wake_lock is active with some task.
+ If in doubt, enable CONFIG_WAKELOCK too.
config WAKELOCK
- bool
+ bool "Wakelock"
default y
+ help
+ A wake_lock prevents the system from entering suspend or
+ other low power states when active.
+ Wake_lock has options to stop the system from suspending if a
+ module holding wake_lock is active with some task.
+ If in doubt, enable CONFIG_HAS_WAKELOCK too.
config HIBERNATE_CALLBACKS
bool