Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a12d5bf2 authored by Dylan Reid's avatar Dylan Reid Committed by Amit Pundir
Browse files

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: default avatarDylan Reid <dgreid@chromium.org>
parent 4c2179aa
Loading
Loading
Loading
Loading
+6 −1
Original line number Diff line number Diff line
@@ -29,8 +29,13 @@ config SUSPEND_SKIP_SYNC
	  user-space before invoking suspend.  Say Y if that's your case.

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 HIBERNATE_CALLBACKS
	bool