android_kernel_xiaomi_sm8350/Documentation/usb
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
..
acm.txt
anchors.txt trivial: Miscellaneous documentation typo fixes 2009-06-12 18:01:47 +02:00
authorization.txt USB: Fix sysfs paths in documentation 2009-09-23 06:46:41 -07:00
callbacks.txt trivial: usb: fix missing space typo in doc 2009-06-12 18:01:51 +02:00
CREDITS
dma.txt
ehci.txt
error-codes.txt
gadget_printer.txt
gadget_serial.txt
hiddev.txt
hotplug.txt
iuu_phoenix.txt
linux.inf
misc_usbsevseg.txt
mtouchusb.txt
ohci.txt
persist.txt
power-management.txt USB: prepare for changover to Runtime PM framework 2009-12-11 11:55:25 -08:00
proc_usb_info.txt
rio.txt
URB.txt
usb-help.txt
usb-serial.txt
usbmon.txt USB: fix paths in usbmon documentation 2009-09-23 06:46:37 -07:00
wusb-cbaf
WUSB-Design-overview.txt trivial: Miscellaneous documentation typo fixes 2009-06-12 18:01:47 +02:00