aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/usb')
-rw-r--r--drivers/usb/host/xhci-ring.c1
-rw-r--r--drivers/usb/host/xhci.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/drivers/usb/host/xhci-ring.c b/drivers/usb/host/xhci-ring.c
index a67caef265b1..15f02e88f329 100644
--- a/drivers/usb/host/xhci-ring.c
+++ b/drivers/usb/host/xhci-ring.c
@@ -1166,6 +1166,7 @@ static void xhci_cleanup_halted_endpoint(struct xhci_hcd *xhci,
1166 1166
1167 ep->stopped_td = NULL; 1167 ep->stopped_td = NULL;
1168 ep->stopped_trb = NULL; 1168 ep->stopped_trb = NULL;
1169 ep->stopped_stream = 0;
1169 1170
1170 xhci_ring_cmd_db(xhci); 1171 xhci_ring_cmd_db(xhci);
1171} 1172}
diff --git a/drivers/usb/host/xhci.c b/drivers/usb/host/xhci.c
index a9b836d4b290..40e0a0c221b8 100644
--- a/drivers/usb/host/xhci.c
+++ b/drivers/usb/host/xhci.c
@@ -1457,6 +1457,7 @@ void xhci_endpoint_reset(struct usb_hcd *hcd,
1457 } 1457 }
1458 virt_ep->stopped_td = NULL; 1458 virt_ep->stopped_td = NULL;
1459 virt_ep->stopped_trb = NULL; 1459 virt_ep->stopped_trb = NULL;
1460 virt_ep->stopped_stream = 0;
1460 spin_unlock_irqrestore(&xhci->lock, flags); 1461 spin_unlock_irqrestore(&xhci->lock, flags);
1461 1462
1462 if (ret) 1463 if (ret)