mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-03-27 17:41:34 +00:00
USB: Set portnr so USB1.1 and 1.0 devices work on EHCI controllers
Signed-off-by: Marek Vasut <marek.vasut@gmail.com>
This commit is contained in:
parent
0b09f54a26
commit
01a97d45d1
1 changed files with 1 additions and 0 deletions
|
@ -1166,6 +1166,7 @@ void usb_hub_port_connect_change(struct usb_device *dev, int port)
|
||||||
|
|
||||||
dev->children[port] = usb;
|
dev->children[port] = usb;
|
||||||
usb->parent = dev;
|
usb->parent = dev;
|
||||||
|
usb->portnr = port + 1;
|
||||||
/* Run it through the hoops (find a driver, etc) */
|
/* Run it through the hoops (find a driver, etc) */
|
||||||
if (usb_new_device(usb)) {
|
if (usb_new_device(usb)) {
|
||||||
/* Woops, disable the port */
|
/* Woops, disable the port */
|
||||||
|
|
Loading…
Add table
Reference in a new issue