diff options
| -rw-r--r-- | drivers/usb/host/xhci-ring.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/usb/host/xhci-ring.c b/drivers/usb/host/xhci-ring.c index 237a765f8d18..ba551239d28b 100644 --- a/drivers/usb/host/xhci-ring.c +++ b/drivers/usb/host/xhci-ring.c | |||
| @@ -692,6 +692,8 @@ static void handle_stopped_endpoint(struct xhci_hcd *xhci, | |||
| 692 | 692 | ||
| 693 | if (list_empty(&ep->cancelled_td_list)) { | 693 | if (list_empty(&ep->cancelled_td_list)) { |
| 694 | xhci_stop_watchdog_timer_in_irq(xhci, ep); | 694 | xhci_stop_watchdog_timer_in_irq(xhci, ep); |
| 695 | ep->stopped_td = NULL; | ||
| 696 | ep->stopped_trb = NULL; | ||
| 695 | ring_doorbell_for_active_rings(xhci, slot_id, ep_index); | 697 | ring_doorbell_for_active_rings(xhci, slot_id, ep_index); |
| 696 | return; | 698 | return; |
| 697 | } | 699 | } |
