]> git.karo-electronics.de Git - mv-sheeva.git/blobdiff - drivers/usb/host/ehci-q.c
USB: EHCI cpufreq fix
[mv-sheeva.git] / drivers / usb / host / ehci-q.c
index e7fbbd00e7cd78a95776264a7c12033d5fa2a3a9..903510beb29904124508870afd434c3d0f6ee947 100644 (file)
@@ -311,6 +311,10 @@ qh_completions (struct ehci_hcd *ehci, struct ehci_qh *qh)
                struct urb      *urb;
                u32             token = 0;
 
+               /* ignore QHs that are currently inactive */
+               if (qh->hw_info1 & __constant_cpu_to_le32(QH_INACTIVATE))
+                       break;
+
                qtd = list_entry (entry, struct ehci_qtd, qtd_list);
                urb = qtd->urb;