diff options
| author | Tom Rini <[email protected]> | 2024-02-20 08:03:21 -0500 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2024-02-20 08:03:21 -0500 |
| commit | 1817afe30f1549d4d2145bd35de0427e9a7bfdfb (patch) | |
| tree | 538d12902f6a16084a5bd33335ce3f454c54a939 /common | |
| parent | bebf916f9eb13aaf5bbf83fbd33204df5c6c9f8e (diff) | |
| parent | d9a20fea2ba53db3a999827d3e50e181d5513e09 (diff) | |
Merge https://gitlab.denx.de/u-boot/custodians/u-boot-usb
Diffstat (limited to 'common')
| -rw-r--r-- | common/usb_hub.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/common/usb_hub.c b/common/usb_hub.c index 3fb7e14d106..2e054eb9353 100644 --- a/common/usb_hub.c +++ b/common/usb_hub.c @@ -174,8 +174,10 @@ static void usb_hub_power_on(struct usb_hub_device *hub) debug("enabling power on all ports\n"); for (i = 0; i < dev->maxchild; i++) { - usb_set_port_feature(dev, i + 1, USB_PORT_FEAT_RESET); - debug("Reset : port %d returns %lX\n", i + 1, dev->status); + if (usb_hub_is_superspeed(dev)) { + usb_set_port_feature(dev, i + 1, USB_PORT_FEAT_RESET); + debug("Reset : port %d returns %lX\n", i + 1, dev->status); + } usb_set_port_feature(dev, i + 1, USB_PORT_FEAT_POWER); debug("PowerOn : port %d returns %lX\n", i + 1, dev->status); } |
