]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
USB: xHCI: PCI power management implementation
authorAndiry Xu <andiry.xu@amd.com>
Thu, 14 Oct 2010 14:23:06 +0000 (07:23 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 22 Oct 2010 17:22:13 +0000 (10:22 -0700)
commit5535b1d5f8885695c6ded783c692e3c0d0eda8ca
treef5454493a1c50e4a6254d904578dc3ecfd1d6e63
parent9777e3ce907d4cb5a513902a87ecd03b52499569
USB: xHCI: PCI power management implementation

This patch implements the PCI suspend/resume.

Please refer to xHCI spec for doing the suspend/resume operation.

For S3, CSS/SRS in USBCMD is used to save/restore the internal state.
However, an error maybe occurs while restoring the internal state.
In this case, it means that HC internal state is wrong and HC will be
re-initialized.

Signed-off-by: Libin Yang <libin.yang@amd.com>
Signed-off-by: Dong Nguyen <dong.nguyen@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-pci.c
drivers/usb/host/xhci.c
drivers/usb/host/xhci.h