diff options
| author | Dylan Reid <dgreid@chromium.org> | 2015-03-03 09:38:28 -0800 |
|---|---|---|
| committer | Mister Oyster <oysterized@gmail.com> | 2017-04-13 12:35:16 +0200 |
| commit | 5e080d166c22354682a2accfeeb10f3c05142cdf (patch) | |
| tree | 9f8b5ad39a03b8ebb185550f447179a1567ca976 | |
| parent | b59f1bb8b8a5130666bada4b69c48447babaab83 (diff) | |
power: Remove HAS_WAKELOCK config and document WAKELOCK
Remove the HAS_WAKELOCK config as it doesn't seem to have been used in
the 3.10 or 3.14 kernels.
Add some Documentation to CONFIG_WAKELOCK so that it is selectable and
can be disabled is desired.
Signed-off-by: Dylan Reid <dgreid@chromium.org>
| -rw-r--r-- | kernel/power/Kconfig | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/kernel/power/Kconfig b/kernel/power/Kconfig index d18228b92..6fd2812dc 100644 --- a/kernel/power/Kconfig +++ b/kernel/power/Kconfig @@ -18,10 +18,6 @@ config SUSPEND_FREEZER Turning OFF this setting is NOT recommended! If in doubt, say Y. -config HAS_WAKELOCK - bool - default y - config HAS_EARLYSUSPEND bool default y @@ -32,8 +28,13 @@ config HAS_SBSUSPEND default y config WAKELOCK - bool + bool "Android's method of preventing suspend" default y + ---help--- + This allows applications to prevent the CPU from suspending while + they need it. + + Say Y if you are running an android userspace. config EARLYSUSPEND bool "Early suspend" |
