diff options
Diffstat (limited to 'drivers/usb/host')
-rw-r--r-- | drivers/usb/host/xhci-mem.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/usb/host/xhci-mem.c b/drivers/usb/host/xhci-mem.c index e3e6410d7b5..9688a58611d 100644 --- a/drivers/usb/host/xhci-mem.c +++ b/drivers/usb/host/xhci-mem.c | |||
@@ -870,9 +870,8 @@ int xhci_setup_addressable_virt_dev(struct xhci_hcd *xhci, struct usb_device *ud | |||
870 | dev->port = top_dev->portnum; | 870 | dev->port = top_dev->portnum; |
871 | xhci_dbg(xhci, "Set root hub portnum to %d\n", top_dev->portnum); | 871 | xhci_dbg(xhci, "Set root hub portnum to %d\n", top_dev->portnum); |
872 | 872 | ||
873 | /* Is this a LS/FS device under a HS hub? */ | 873 | /* Is this a LS/FS device under an external HS hub? */ |
874 | if ((udev->speed == USB_SPEED_LOW || udev->speed == USB_SPEED_FULL) && | 874 | if (udev->tt && udev->tt->hub->parent) { |
875 | udev->tt) { | ||
876 | slot_ctx->tt_info = udev->tt->hub->slot_id; | 875 | slot_ctx->tt_info = udev->tt->hub->slot_id; |
877 | slot_ctx->tt_info |= udev->ttport << 8; | 876 | slot_ctx->tt_info |= udev->ttport << 8; |
878 | if (udev->tt->multi) | 877 | if (udev->tt->multi) |