Files
linux-stable-mirror/include/linux
Alan Stern 8e4ceb38eb USB: prepare for changover to Runtime PM framework
This patch (as1303) revises the USB Power Management infrastructure to
make it compatible with the new driver-model Runtime PM framework:

	Drivers are no longer allowed to access intf->pm_usage_cnt
	directly; the PM framework manages its own usage counters.

	usb_autopm_set_interface() is eliminated, because it directly
	sets intf->pm_usage_cnt.

	usb_autopm_enable() and usb_autopm_disable() are eliminated,
	because they call usb_autopm_set_interface().

	usb_autopm_get_interface_no_resume() and
	usb_autopm_put_interface_no_suspend() are added.  They
	correspond to pm_runtime_get_noresume() and
	pm_runtime_put_noidle() in the PM framework.

	The power/level attribute no longer accepts "suspend", only
	"on" and "auto".  The PM framework doesn't allow devices to be
	forced into a suspended mode.

The hub driver contains the only code that violates the new
guidelines.  It is updated to use the new interface routines instead.

Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2009-12-11 11:55:25 -08:00
..
2009-11-24 08:18:54 +02:00
2009-12-03 11:58:47 +00:00
2009-11-28 15:05:05 -05:00
2009-12-02 23:38:13 -08:00
2009-12-04 15:39:57 +01:00
2009-12-03 12:03:40 +05:30
2009-12-03 09:32:17 +02:00
2009-11-28 15:05:05 -05:00
2009-12-03 11:43:23 +00:00
2009-12-02 09:55:33 +01:00
2009-12-03 11:53:02 +00:00
2009-11-30 12:02:53 +09:00
2009-12-02 19:57:15 -08:00
2009-11-18 14:52:25 +01:00
2009-11-13 20:46:24 +01:00
2009-11-19 13:43:06 -08:00