summaryrefslogtreecommitdiff
path: root/common/usb_hub.c
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2023-12-02 13:37:27 -0500
committerTom Rini <trini@konsulko.com>2023-12-02 13:37:27 -0500
commitb56d21f3bbc28f773536df282467833af6fdab1f (patch)
tree75761f4fe2a06aa22e0380b5d0e27fa68e810603 /common/usb_hub.c
parent43f2873fa98b1da6eb56d756315c7bd7db63db27 (diff)
parent493e0e2577bfe11b3065a30a6f5c827f95c1df94 (diff)
Merge branch 'master' of https://source.denx.de/u-boot/custodians/u-boot-usb
- USB XHCI fixes
Diffstat (limited to 'common/usb_hub.c')
-rw-r--r--common/usb_hub.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/common/usb_hub.c b/common/usb_hub.c
index 85c0822d8b7..70279f301d5 100644
--- a/common/usb_hub.c
+++ b/common/usb_hub.c
@@ -395,6 +395,13 @@ int usb_hub_port_connect_change(struct usb_device *dev, int port)
break;
}
+ /*
+ * USB 2.0 7.1.7.5: devices must be able to accept a SetAddress()
+ * request (refer to Section 11.24.2 and Section 9.4 respectively)
+ * after the reset recovery time 10 ms
+ */
+ mdelay(10);
+
#if CONFIG_IS_ENABLED(DM_USB)
struct udevice *child;