On Thu, 22 Mar 2007 00:51:54 +0100 Pavel Machek <pavel@xxxxxx> wrote: > On Wed 2007-03-21 15:53:31, Johannes Berg wrote: > > Almost all users of pm_ops only support mem sleep, don't check in .valid > > and don't reject any others in .prepare so users can be confused if they > > check /sys/power/state, especially when new states are added (these would > > then result in s-t-r although they're supposed to be something different). > > > > This patch implements a generic pm_valid_only_mem function that is then > > exported for users and puts it to use in almost all existing pm_ops. > > > > Signed-off-by: Johannes Berg <johannes@xxxxxxxxxxxxxxxx> > > Cc: David Brownell <david-b@xxxxxxxxxxx> > > Cc: Pavel Machek <pavel@xxxxxx> > > Cc: linux-pm@xxxxxxxxxxxxxxxxxxxxxxxxxx > > Looks ok to me. ACK. (But I guess it would be nice to cc rmk or > something, so we don't conflict with his patches etc?) > I copied Russell and Paul on all three patches. _______________________________________________ linux-pm mailing list linux-pm@xxxxxxxxxxxxxxxxxxxxxxxxxx https://lists.linux-foundation.org/mailman/listinfo/linux-pm