@@ -1,4 +1,4 @@
-/* $NetBSD: xhci.c,v 1.142 2021/05/27 11:09:15 skrll Exp $ */
+/* $NetBSD: xhci.c,v 1.143 2021/05/29 16:49:30 riastradh Exp $ */
/*
* Copyright (c) 2013 Jonathan A. Kollasch
@@ -34,7 +34,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: xhci.c,v 1.142 2021/05/27 11:09:15 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: xhci.c,v 1.143 2021/05/29 16:49:30 riastradh Exp $");
#ifdef _KERNEL_OPT
#include "opt_usb.h"
@@ -1027,7 +1027,7 @@
v |= XHCI_PS_LWS;
v |= XHCI_PS_PLS_SET(XHCI_PS_PLS_SETRESUME);
xhci_op_write_4(sc, port, v);
- usb_delay_ms(&sc->sc_bus, 20);
+ usb_delay_ms(&sc->sc_bus, USB_RESUME_WAIT);
} else {
KASSERT(sc->sc_bus.ub_revision > USBREV_2_0);
}