Loading drivers/usb/host/xhci-hub.c +1 −1 Original line number Original line Diff line number Diff line Loading @@ -366,7 +366,7 @@ int xhci_find_slot_id_by_port(struct usb_hcd *hcd, struct xhci_hcd *xhci, slot_id = 0; slot_id = 0; for (i = 0; i < MAX_HC_SLOTS; i++) { for (i = 0; i < MAX_HC_SLOTS; i++) { if (!xhci->devs[i]) if (!xhci->devs[i] || !xhci->devs[i]->udev) continue; continue; speed = xhci->devs[i]->udev->speed; speed = xhci->devs[i]->udev->speed; if (((speed >= USB_SPEED_SUPER) == (hcd->speed >= HCD_USB3)) if (((speed >= USB_SPEED_SUPER) == (hcd->speed >= HCD_USB3)) Loading Loading
drivers/usb/host/xhci-hub.c +1 −1 Original line number Original line Diff line number Diff line Loading @@ -366,7 +366,7 @@ int xhci_find_slot_id_by_port(struct usb_hcd *hcd, struct xhci_hcd *xhci, slot_id = 0; slot_id = 0; for (i = 0; i < MAX_HC_SLOTS; i++) { for (i = 0; i < MAX_HC_SLOTS; i++) { if (!xhci->devs[i]) if (!xhci->devs[i] || !xhci->devs[i]->udev) continue; continue; speed = xhci->devs[i]->udev->speed; speed = xhci->devs[i]->udev->speed; if (((speed >= USB_SPEED_SUPER) == (hcd->speed >= HCD_USB3)) if (((speed >= USB_SPEED_SUPER) == (hcd->speed >= HCD_USB3)) Loading