summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--drivers/usb/host/ehci-q.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/usb/host/ehci-q.c b/drivers/usb/host/ehci-q.c
index b496539a4e03..699c191b70f5 100644
--- a/drivers/usb/host/ehci-q.c
+++ b/drivers/usb/host/ehci-q.c
@@ -266,8 +266,9 @@ qh_completions (struct ehci_hcd *ehci, struct ehci_qh *qh, struct pt_regs *regs)
/* magic dummy for short reads; won't advance */
if (IS_SHORT_READ (token)
+ && !(token & QTD_STS_HALT)
&& ehci->async->hw_alt_next
- == qh->hw_current)
+ == qh->hw_alt_next)
goto halt;
/* stop scanning when we reach qtds the hc is using */