Re: [PATCH 3/5] [pm] Respect the actual device power states in sysfs interface

Patrick Mochel
2006-02-19T23:59:25Z

[-- Attachment #1: Type: TEXT/PLAIN, Size: 525 bytes --]

On Sat, 18 Feb 2006, Pavel Machek wrote:

> Hi!
>
> > Fix the per-device state file to respect the actual state that
> > is reported by the device, or written to the file.
>
> Can we let "state" file die? You actually suggested that at one point.
>
> I do not think passing states in u32 is good idea. New interface that passes
> state as string would probably be better.

Yup, in the future that will be better. For now, let's work with what we
got and fix 2.6.16 to be compatible with previous versions..

Thanks,

Pat