aboutsummaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/usb/controller/xhci.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/usb/controller/xhci.c b/sys/dev/usb/controller/xhci.c
index 2ad72a48293d..15835d0a641b 100644
--- a/sys/dev/usb/controller/xhci.c
+++ b/sys/dev/usb/controller/xhci.c
@@ -3550,7 +3550,7 @@ xhci_roothub_exec(struct usb_device *udev,
switch (value) {
case UHF_PORT_U1_TIMEOUT:
- if (XHCI_PS_SPEED_GET(v) != 4) {
+ if (XHCI_PS_SPEED_GET(v) < XHCI_PS_SPEED_SS) {
err = USB_ERR_IOERROR;
goto done;
}
@@ -3561,7 +3561,7 @@ xhci_roothub_exec(struct usb_device *udev,
XWRITE4(sc, oper, port, v);
break;
case UHF_PORT_U2_TIMEOUT:
- if (XHCI_PS_SPEED_GET(v) != 4) {
+ if (XHCI_PS_SPEED_GET(v) < XHCI_PS_SPEED_SS) {
err = USB_ERR_IOERROR;
goto done;
}