diff options
| author | Kyle Evans <kevans@FreeBSD.org> | 2026-08-11 01:26:47 +0000 |
|---|---|---|
| committer | Kyle Evans <kevans@FreeBSD.org> | 2026-08-11 01:26:59 +0000 |
| commit | 135df778543123a7dea08553c78da1b51a6b3098 (patch) | |
| tree | b1ef1193d787fce7ea3541a9782a603f7e25d53d | |
| parent | 207d96dabfec14d7b3699747abb539ab3c1118ab (diff) | |
usb: xhci: allow up to 1s for SET_ADDRESS
Some devices take a little longer, and the spec doesn't really seem to
mandate a maximum. The common path in usbd_req_set_address() has
already been bumped to 1s and I have a headset (Logitech H390) that does
need a little bit longer, so let's match it in xhci.
Reviewed by: aokblast
Differential Revision: https://reviews.freebsd.org/D58717
| -rw-r--r-- | sys/dev/usb/controller/xhci.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/usb/controller/xhci.c b/sys/dev/usb/controller/xhci.c index d1d98c1c74bd..c385631f22d7 100644 --- a/sys/dev/usb/controller/xhci.c +++ b/sys/dev/usb/controller/xhci.c @@ -1399,7 +1399,7 @@ xhci_cmd_set_address(struct xhci_softc *sc, uint64_t input_ctx, trb.dwTrb3 = htole32(temp); - return (xhci_do_command(sc, &trb, 500 /* ms */)); + return (xhci_do_command(sc, &trb, 1000 /* ms */)); } static usb_error_t |
