summaryrefslogtreecommitdiffstats
path: root/drivers/usb/host/xhci.c
diff options
context:
space:
mode:
authorSarah Sharp <sarah.a.sharp@linux.intel.com>2010-05-06 22:40:18 +0200
committerGreg Kroah-Hartman <gregkh@suse.de>2010-05-20 22:21:43 +0200
commit5e5cf6fc59db2322dfe3ac8e1002f066b06d868f (patch)
tree4f51dd2a04e7b45969ad80d7065858ed2fdf0f31 /drivers/usb/host/xhci.c
parentUSB: testusb: testusb compatibility with FunctionFS gadget (diff)
downloadlinux-5e5cf6fc59db2322dfe3ac8e1002f066b06d868f.tar.xz
linux-5e5cf6fc59db2322dfe3ac8e1002f066b06d868f.zip
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.c')
-rw-r--r--drivers/usb/host/xhci.c1
1 files changed, 1 insertions, 0 deletions
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,
}
virt_ep->stopped_td = NULL;
virt_ep->stopped_trb = NULL;
+ virt_ep->stopped_stream = 0;
spin_unlock_irqrestore(&xhci->lock, flags);
if (ret)