On Sat, 25 Apr 2009, Michael Trimarchi wrote: > Ok, I understand, so how to know the devices dependences? There is a way > to express > this relation? Because if it is not possible a single flag can be used Nobody knows all the device dependencies. That's why we're afraid that if you change the list, something will break. > > This will set the dont_suspend flag for all devices in the subtree > > starting at topdev. > > > Yes this is possible, but you walk all list twice. So what? Walking the list is very quick, and you're not on a time-critical path. Alan Stern _______________________________________________ linux-pm mailing list linux-pm@xxxxxxxxxxxxxxxxxxxxxxxxxx https://lists.linux-foundation.org/mailman/listinfo/linux-pm