]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - drivers/usb/host/ehci-hcd.c
USB: EHCI: use the new clear_tt_buffer interface
[net-next-2.6.git] / drivers / usb / host / ehci-hcd.c
index 99c75603ec87143eebe77e1d8794457a87c03980..7d03549c3339ecc5ebdc5025db1d9f3b6d42f148 100644 (file)
@@ -1003,6 +1003,8 @@ idle_timeout:
                schedule_timeout_uninterruptible(1);
                goto rescan;
        case QH_STATE_IDLE:             /* fully unlinked */
+               if (qh->clearing_tt)
+                       goto idle_timeout;
                if (list_empty (&qh->qtd_list)) {
                        qh_put (qh);
                        break;