aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/host/ehci-q.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/usb/host/ehci-q.c')
-rw-r--r--drivers/usb/host/ehci-q.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/usb/host/ehci-q.c b/drivers/usb/host/ehci-q.c
index e7fbbd00e7cd..903510beb299 100644
--- a/drivers/usb/host/ehci-q.c
+++ b/drivers/usb/host/ehci-q.c
@@ -311,6 +311,10 @@ qh_completions (struct ehci_hcd *ehci, struct ehci_qh *qh)
311 struct urb *urb; 311 struct urb *urb;
312 u32 token = 0; 312 u32 token = 0;
313 313
314 /* ignore QHs that are currently inactive */
315 if (qh->hw_info1 & __constant_cpu_to_le32(QH_INACTIVATE))
316 break;
317
314 qtd = list_entry (entry, struct ehci_qtd, qtd_list); 318 qtd = list_entry (entry, struct ehci_qtd, qtd_list);
315 urb = qtd->urb; 319 urb = qtd->urb;
316 320