Re: [linux-pm] Re: The evilness of struct?usb_device->auto_pm
Pavel Machek <[email protected]>
| Newsgroups | gmane.linux.usb.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi! > > > OK, so this is the consensus. Then the question arises, how does a > > > driver learn that all it's children have gone into autosuspend? > > > > atomic_t variable in the parent, with children updating it and calling > > parent's callback when it goes to 1->0 and 0->1? > > That's a viable proposal, but it means moving part of the autosuspend > code into the generic model. Are you all okay with that? Me? Yes. Pavel -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ [email protected] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel