Re: A minimally power-aware driver treats all messages as SUSPEND?

From: Linus Torvalds
Date: Tue Jul 01 2008 - 12:43:55 EST




On Tue, 1 Jul 2008, Uwe Kleine-König wrote:
>
> This was introduced in commit 82bb67f2 by David Brownell. At this time
> PM_EVENT_HIBERNATE didn't exist. This was added in 3a2d5b70 by Rafael
> J. Wysocki without updating the above sentence. I think a minimally
> power-aware driver should treat all messages as HIBERNATE, shouldn't it?

No.

A minimally power-aware driver should aim to work with STR.

HIBERNATE should be a secondary goal (if even that).

Linus
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/