USB: xHCI: bus power management implementation
authorAndiry Xu <andiry.xu@amd.com>
Thu, 14 Oct 2010 14:23:03 +0000 (07:23 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 22 Oct 2010 17:22:13 +0000 (10:22 -0700)
commit9777e3ce907d4cb5a513902a87ecd03b52499569
treea2b28eeeaddd39d7c8cdd59f6ddbfa694d40d5ba
parent561925318725a41189a69f36ebe99199b3fb84c4
USB: xHCI: bus power management implementation

This patch implements xHCI bus suspend/resume function hook.

In the patch it goes through all the ports and suspend/resume
the ports if needed.

If any port is in remote wakeup, abort bus suspend as what ehci/ohci do.

Signed-off-by: Libin Yang <libin.yang@amd.com>
Signed-off-by: Crane Cai <crane.cai@amd.com>
Signed-off-by: Andiry Xu <andiry.xu@amd.com>
Signed-off-by: Sarah Sharp <sarah.a.sharp@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/host/xhci-hub.c
drivers/usb/host/xhci-mem.c
drivers/usb/host/xhci-pci.c
drivers/usb/host/xhci.h