xhci: Always use usb_hcd in URB instead of converting xhci_hcd.
authorSarah Sharp <sarah.a.sharp@linux.intel.com>
Tue, 26 Oct 2010 18:22:02 +0000 (11:22 -0700)
committerSarah Sharp <sarah.a.sharp@linux.intel.com>
Mon, 14 Mar 2011 01:07:13 +0000 (18:07 -0700)
commit214f76f7d9198ddd090bd927a4bcd49391bfcd36
tree23caeedac25f87f12662850e861dc994b21420c9
parentaa1b13efb7cfa9f7bf4942c1e858463e335c9500
xhci: Always use usb_hcd in URB instead of converting xhci_hcd.

Make sure to call into the USB core's link, unlink, and giveback URB
functions with the usb_hcd pointer found by using urb->dev->bus.  This
will avoid confusion later, when the xHCI driver will deal with URBs from
two separate buses (the USB 3.0 roothub and the faked USB 2.0 roothub).

Assume xhci_urb_dequeue() will be called with the proper usb_hcd.

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