]> err.no Git - linux-2.6/blobdiff - drivers/usb/host/ohci-hcd.c
[PATCH] drivers/usb: fix-up schedule_timeout() usage
[linux-2.6] / drivers / usb / host / ohci-hcd.c
index 56b43f2a0e52c3eaaa750bebd7fb94e27f16d2bd..ddaa9c82c58dd5e0de854f399cf7a11f6b93f9d4 100644 (file)
@@ -382,8 +382,7 @@ sanitize:
                        goto sanitize;
                }
                spin_unlock_irqrestore (&ohci->lock, flags);
-               set_current_state (TASK_UNINTERRUPTIBLE);
-               schedule_timeout (1);
+               schedule_timeout_uninterruptible(1);
                goto rescan;
        case ED_IDLE:           /* fully unlinked */
                if (list_empty (&ed->td_list)) {