xhci: Make roothub functions deal with device removal.
authorSarah Sharp <sarah.a.sharp@linux.intel.com>
Fri, 29 Oct 2010 21:37:23 +0000 (14:37 -0700)
committerSarah Sharp <sarah.a.sharp@linux.intel.com>
Mon, 14 Mar 2011 01:23:44 +0000 (18:23 -0700)
commitf9de8151877b4f01cc8e124b0e213a6c6c78d970
treefa1fb7231c83430c098f20511ab99909fe1c2544
parentd30b2a208108a0b0fdeae7006b8824d9be16ca96
xhci: Make roothub functions deal with device removal.

Return early in the roothub control and status functions if the xHCI host
controller is not electrically present in the system (register reads
return all "fs").  This issue only shows up when the xHCI driver registers
two roothubs and the host controller is removed from the system.

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