2005/12/19, Olav Kongas <[EMAIL PROTECTED]>: > > > On Sun, 18 Dec 2005, David Brownell wrote: > > > > > > > > > OK, but what happen if HC suspend is called whereas bus and its > > > attached devices have not been suspended yet ? > > > > That would be a bug; the driver model is supposed to ensure that > > the children (bus and its devices) are suspended before the parent. > > Right. But at least with 2.6.14 user can do that via > sysfs. I cannot test with later kernels at the moment. > Therefore the HC suspend method should check and prevent it > from happening. >
It's still true on 2.6.15-rc5. BTW, the hcd suspend method do: dev->dev.power.power_state = state; I think this work should be part of the driver model, shouldn't it ? Thanks -- Franck ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_idv37&alloc_id865&op=click _______________________________________________ linux-usb-devel@lists.sourceforge.net To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel