summaryrefslogtreecommitdiffstats
path: root/drivers/usb/host
diff options
context:
space:
mode:
authorSarah Sharp2009-09-04 19:53:24 +0200
committerGreg Kroah-Hartman2009-09-23 15:46:40 +0200
commitb356b7c7696b289dda99022d71e3979c6134af52 (patch)
treef9fdccb5ce6ec0af42b075a858f0a3f1eb525c31 /drivers/usb/host
parentUSB: xhci: Support USB hubs. (diff)
downloadkernel-qcow2-linux-b356b7c7696b289dda99022d71e3979c6134af52.tar.gz
kernel-qcow2-linux-b356b7c7696b289dda99022d71e3979c6134af52.tar.xz
kernel-qcow2-linux-b356b7c7696b289dda99022d71e3979c6134af52.zip
USB: Add hub descriptor update hook for xHCI
Add a hook for updating xHCI internal structures after khubd fetches the hub descriptor and sets up the hub's TT information. The xHCI driver must update the internal structures before devices under the hub can be enumerated. Signed-off-by: Sarah Sharp <sarah.a.sharp@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/host')
-rw-r--r--drivers/usb/host/xhci-pci.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/usb/host/xhci-pci.c b/drivers/usb/host/xhci-pci.c
index b7712f22a9fb..06595ec27bb7 100644
--- a/drivers/usb/host/xhci-pci.c
+++ b/drivers/usb/host/xhci-pci.c
@@ -136,6 +136,7 @@ static const struct hc_driver xhci_pci_hc_driver = {
.check_bandwidth = xhci_check_bandwidth,
.reset_bandwidth = xhci_reset_bandwidth,
.address_device = xhci_address_device,
+ .update_hub_device = xhci_update_hub_device,
/*
* scheduling support