aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/host/xhci-ring.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/usb/host/xhci-ring.c')
-rw-r--r--drivers/usb/host/xhci-ring.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/usb/host/xhci-ring.c b/drivers/usb/host/xhci-ring.c
index 7cea2483e59..7fe9aebd392 100644
--- a/drivers/usb/host/xhci-ring.c
+++ b/drivers/usb/host/xhci-ring.c
@@ -1213,7 +1213,8 @@ static void handle_port_status(struct xhci_hcd *xhci,
1213 temp &= ~PORT_PLS_MASK; 1213 temp &= ~PORT_PLS_MASK;
1214 temp |= PORT_LINK_STROBE | XDEV_U0; 1214 temp |= PORT_LINK_STROBE | XDEV_U0;
1215 xhci_writel(xhci, temp, port_array[faked_port_index]); 1215 xhci_writel(xhci, temp, port_array[faked_port_index]);
1216 slot_id = xhci_find_slot_id_by_port(xhci, port_id); 1216 slot_id = xhci_find_slot_id_by_port(hcd, xhci,
1217 faked_port_index);
1217 if (!slot_id) { 1218 if (!slot_id) {
1218 xhci_dbg(xhci, "slot_id is zero\n"); 1219 xhci_dbg(xhci, "slot_id is zero\n");
1219 goto cleanup; 1220 goto cleanup;