usb4bsd/ehci: Fix EHCI resetting (and thus, intialization & attach).
authorSascha Wildner <saw@online.de>
Fri, 12 Oct 2012 19:29:22 +0000 (21:29 +0200)
committerSascha Wildner <saw@online.de>
Fri, 12 Oct 2012 19:29:22 +0000 (21:29 +0200)
No need for PINTERLOCKED here.

Reported-by: ftigeot, tuxillo
In-discussion-with: vsrinivas

sys/bus/u4b/usb_util.c

index 8c92171..efad412 100644 (file)
@@ -127,7 +127,7 @@ usb_pause_mtx(struct lock *lock, int timo)
                lksleep(&usb_pause_mtx, lock, 0, "USBSLP", timo + 1);
        } else {
                KKASSERT(timo + 1 > 0);
-               tsleep(&usb_pause_mtx, PINTERLOCKED, "USBSLP", timo + 1);
+               tsleep(&usb_pause_mtx, 0, "USBSLP", timo + 1);
        }
 }