git: 8db4de3a74fd - stable/15 - usb: xhci: allow up to 1s for SET_ADDRESS
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 04 Sep 2026 18:49:12 UTC
The branch stable/15 has been updated by kevans:
URL: https://cgit.FreeBSD.org/src/commit/?id=8db4de3a74fd4fee04c6c1c317d5281e1f2b0774
commit 8db4de3a74fd4fee04c6c1c317d5281e1f2b0774
Author: Kyle Evans <kevans@FreeBSD.org>
AuthorDate: 2026-08-11 01:26:47 +0000
Commit: Kyle Evans <kevans@FreeBSD.org>
CommitDate: 2026-09-04 15:33:00 +0000
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
(cherry picked from commit 135df778543123a7dea08553c78da1b51a6b3098)
---
sys/dev/usb/controller/xhci.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sys/dev/usb/controller/xhci.c b/sys/dev/usb/controller/xhci.c
index 23ad3f86e46b..b6ea3b9660e1 100644
--- a/sys/dev/usb/controller/xhci.c
+++ b/sys/dev/usb/controller/xhci.c
@@ -1419,7 +1419,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