[linux-pm] [PATCH 05/11] PM: Enable early suspend through /sys/power/state

Arve Hjønnevåg arve at android.com
Mon Feb 2 14:36:04 PST 2009


On Mon, Feb 2, 2009 at 3:45 AM, Pavel Machek <pavel at ucw.cz> wrote:
> Yes, goal is that compiling in  wakelock / early suspend support has
> no effect on existing functionality.

OK. I think I'll just print a warning and disable wakelock support if
user-space writes to /sys/power/state when wakelock support is
compiled in. A wakelock aware power manager in user-space can use an
always non-blocking interface (e.g. /sys/power/request_state) instead.

-- 
Arve Hjønnevåg


More information about the linux-pm mailing list