summaryrefslogtreecommitdiff
path: root/common/usb.c
diff options
context:
space:
mode:
authorMarek Vasut <marek.vasut@gmail.com>2011-07-12 02:16:47 +0200
committerRemy Bohmer <linux@bohmer.net>2011-08-08 21:46:04 +0200
commit01a97d45d1be79960570fb345b2c15331f79f053 (patch)
treeb7d550476dc05ef21d4dfef2a967c31e322eb7b6 /common/usb.c
parent0b09f54a26169246e982357774b06276843047b3 (diff)
downloadu-boot-imx-01a97d45d1be79960570fb345b2c15331f79f053.zip
u-boot-imx-01a97d45d1be79960570fb345b2c15331f79f053.tar.gz
u-boot-imx-01a97d45d1be79960570fb345b2c15331f79f053.tar.bz2
USB: Set portnr so USB1.1 and 1.0 devices work on EHCI controllers
Signed-off-by: Marek Vasut <marek.vasut@gmail.com>
Diffstat (limited to 'common/usb.c')
-rw-r--r--common/usb.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/common/usb.c b/common/usb.c
index 4f7c520..6a7df07 100644
--- a/common/usb.c
+++ b/common/usb.c
@@ -1166,6 +1166,7 @@ void usb_hub_port_connect_change(struct usb_device *dev, int port)
dev->children[port] = usb;
usb->parent = dev;
+ usb->portnr = port + 1;
/* Run it through the hoops (find a driver, etc) */
if (usb_new_device(usb)) {
/* Woops, disable the port */