summaryrefslogtreecommitdiff
path: root/sys/dev/usb/uhci.c
diff options
context:
space:
mode:
authorMartin Pieuchot <mpi@cvs.openbsd.org>2019-11-27 11:17:00 +0000
committerMartin Pieuchot <mpi@cvs.openbsd.org>2019-11-27 11:17:00 +0000
commit5104f2354fe9dec52fd7c10ed2e4839ea6dc07e6 (patch)
tree59dfc09df672dbe7c1260ed4fb4fc9f3b59cead9 /sys/dev/usb/uhci.c
parent2095bb3143174a50b27790f5529e7c69b19e962d (diff)
Convert infinite sleeps to tsleep_nsec(9).
ok bluhm@
Diffstat (limited to 'sys/dev/usb/uhci.c')
-rw-r--r--sys/dev/usb/uhci.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/usb/uhci.c b/sys/dev/usb/uhci.c
index b4f43044561..61afda02715 100644
--- a/sys/dev/usb/uhci.c
+++ b/sys/dev/usb/uhci.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: uhci.c,v 1.147 2019/03/12 08:13:50 ratchov Exp $ */
+/* $OpenBSD: uhci.c,v 1.148 2019/11/27 11:16:59 mpi Exp $ */
/* $NetBSD: uhci.c,v 1.172 2003/02/23 04:19:26 simonb Exp $ */
/* $FreeBSD: src/sys/dev/usb/uhci.c,v 1.33 1999/11/17 22:33:41 n_hibma Exp $ */
@@ -1744,7 +1744,7 @@ uhci_abort_xfer(struct usbd_xfer *xfer, usbd_status status)
sc->sc_softwake = 1;
usb_schedsoftintr(&sc->sc_bus);
DPRINTFN(1,("uhci_abort_xfer: tsleep\n"));
- tsleep(&sc->sc_softwake, PZERO, "uhciab", 0);
+ tsleep_nsec(&sc->sc_softwake, PZERO, "uhciab", INFSLP);
splx(s);
/*