linux/Documentation
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-10-01 21:17:49 +02:00
2009-12-03 19:28:53 +01:00
2007-07-19 10:04:47 -07:00
2008-02-14 00:16:13 -05:00
2008-10-16 11:21:30 -07:00
2009-06-22 10:12:35 +01:00
2009-11-30 13:46:04 -08:00
2008-02-03 15:54:28 +02:00
2009-12-06 17:06:30 +01:00
2009-09-20 12:27:42 +02:00
2009-12-03 09:32:25 +02:00
2008-01-11 18:22:30 -06:00
2007-05-09 08:57:56 +02:00
2009-06-18 13:04:04 -07:00
2009-11-09 09:40:54 +01:00
2009-12-07 18:36:35 +01:00
2009-10-04 22:53:41 +02:00
2008-12-03 16:09:53 -07:00
2008-07-25 10:53:30 -07:00
2007-10-19 11:53:34 -07:00
2008-11-14 10:39:26 +11:00
2009-10-15 07:25:20 -06:00
2009-12-09 18:59:52 -08:00
2008-03-24 19:22:19 -07:00
2007-10-18 14:37:32 -07:00
2009-07-01 22:36:22 +02:00
2009-08-28 15:21:12 -04:00
2008-10-20 15:43:10 +02:00
2009-04-27 12:00:27 -07:00
2009-04-27 12:00:27 -07:00
2008-08-12 16:07:30 -07:00
2009-03-31 15:18:37 +11:00
2008-11-12 17:17:17 -08:00
2009-04-14 09:00:23 +10:00