Re: [PATCH 05/11] PM: Enable early suspend through /sys/power/state

Arve Hjønnevåg
2009-02-02T22:36:04Z

On Mon, Feb 2, 2009 at 3:45 AM, Pavel Machek <pavel@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