xhci: Fixes for suspend/resume of shared HCDs.
authorSarah Sharp <sarah.a.sharp@linux.intel.com>
Mon, 7 Mar 2011 19:24:07 +0000 (11:24 -0800)
committerSarah Sharp <sarah.a.sharp@linux.intel.com>
Mon, 14 Mar 2011 01:23:47 +0000 (18:23 -0700)
commitb320937972d456db2a46fdcbc6bebc4dcdc9daa4
treea41cfa6897e7b2d6dfd79e43cfb6c77dbd9bf6a7
parent65b22f93fde320b34d43e4a3978e1b52b1bcc279
xhci: Fixes for suspend/resume of shared HCDs.

Make sure the HCD_FLAG_HW_ACCESSIBLE flag is mirrored by both roothubs,
since it refers to whether the shared hardware is accessible.  Make sure
each bus is marked as suspended by setting usb_hcd->state to
HC_STATE_SUSPENDED when the PCI host controller is resumed.

Signed-off-by: Sarah Sharp <sarah.a.sharp@linux.intel.com>
drivers/usb/host/xhci-pci.c
drivers/usb/host/xhci-ring.c
drivers/usb/host/xhci.c