aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/host/xhci-ring.c
diff options
context:
space:
mode:
authorSarah Sharp <sarah.a.sharp@linux.intel.com>2010-05-06 16:40:18 -0400
committerGreg Kroah-Hartman <gregkh@suse.de>2010-05-20 16:21:43 -0400
commit5e5cf6fc59db2322dfe3ac8e1002f066b06d868f (patch)
tree4f51dd2a04e7b45969ad80d7065858ed2fdf0f31 /drivers/usb/host/xhci-ring.c
parent5bc9661cba04ff3704e704a06367d4fe96d8dd33 (diff)
USB: xhci: Set stream ID to 0 after cleaning up stalls.
After using state stored in xhci_virt_ep to clean up a stalled endpoint, be sure to set the stalled stream ID back to 0. Signed-off-by: Sarah Sharp <sarah.a.sharp@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/host/xhci-ring.c')
-rw-r--r--drivers/usb/host/xhci-ring.c1
1 files changed, 1 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}