The evilness of struct usb_device->auto_pm

Oliver Neukum <[email protected]>
Newsgroups gmane.linux.usb.devel
Message-ID <[email protected]>
Hi,

doing autosuspend for the storage driver, this feature was a sore point.
At some point we have to cross subsystem borders when doing runtime
suspend on a subtree of the device tree. Drivers need to know whether
they are doing a system wide suspend or a runtime suspend. The locking
requirements at the very least are different.
We need a standardised way to tell drivers what kind of suspension they
are dealing with. So I think it has to move into the generic struct device
or become a part of the message parameter.

	Regards
		Oliver

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.