diff options
author | Tom Rini <trini@ti.com> | 2013-08-01 09:19:28 -0400 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2013-08-01 09:19:28 -0400 |
commit | 245d65b6e503f3a159cffb3392ac3b2c25606d8e (patch) | |
tree | 468379202891d516817dfad73ac6ba907bb1156a /common/usb_hub.c | |
parent | 327b5c9f7cde4e621c2f49fbd2e9890d32f2bef8 (diff) | |
parent | 8bc3603675f7bf4dfa4eb6bdaf2aa0a8ddce9fa6 (diff) | |
download | u-boot-imx-245d65b6e503f3a159cffb3392ac3b2c25606d8e.zip u-boot-imx-245d65b6e503f3a159cffb3392ac3b2c25606d8e.tar.gz u-boot-imx-245d65b6e503f3a159cffb3392ac3b2c25606d8e.tar.bz2 |
Merge branch 'master' of git://git.denx.de/u-boot-usb
Diffstat (limited to 'common/usb_hub.c')
-rw-r--r-- | common/usb_hub.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/common/usb_hub.c b/common/usb_hub.c index 754d436..a11b401 100644 --- a/common/usb_hub.c +++ b/common/usb_hub.c @@ -110,7 +110,7 @@ static void usb_hub_power_on(struct usb_hub_device *hub) ret = usb_get_port_status(dev, i + 1, portsts); if (ret < 0) { debug("port %d: get_port_status failed\n", i + 1); - return; + continue; } /* @@ -125,7 +125,7 @@ static void usb_hub_power_on(struct usb_hub_device *hub) portstatus = le16_to_cpu(portsts->wPortStatus); if (portstatus & (USB_PORT_STAT_POWER << 1)) { debug("port %d: Port power change failed\n", i + 1); - return; + continue; } } |