mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH 1/2] usb_hub_power_on: wait for the power to be stable
@ 2012-08-28 15:24 Eric Bénard
  2012-08-28 15:24 ` [PATCH 2/2] stringlist: fix division by zero Eric Bénard
  2012-08-28 15:30 ` [PATCH 1/2] usb_hub_power_on: wait for the power to be stable Eric Bénard
  0 siblings, 2 replies; 4+ messages in thread
From: Eric Bénard @ 2012-08-28 15:24 UTC (permalink / raw)
  To: barebox

- the 100ms value is taken from Linux & u-boot
- without this, I don't see peripherals connected to a hub
connected to an i.MX35's host port.

Signed-off-by: Eric Bénard <eric@eukrea.com>
---
 drivers/usb/core/usb.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/usb/core/usb.c b/drivers/usb/core/usb.c
index a5075d5..ae3eb88 100644
--- a/drivers/usb/core/usb.c
+++ b/drivers/usb/core/usb.c
@@ -948,7 +948,7 @@ static void usb_hub_power_on(struct usb_hub_device *hub)
 		usb_set_port_feature(dev, i + 1, USB_PORT_FEAT_POWER);
 		USB_HUB_PRINTF("port %d returns %lX\n", i + 1, dev->status);
 	}
-	mdelay(20);
+	mdelay(100);
 }
 
 #define MAX_TRIES 5
-- 
1.7.7.6


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2012-08-29  7:10 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-08-28 15:24 [PATCH 1/2] usb_hub_power_on: wait for the power to be stable Eric Bénard
2012-08-28 15:24 ` [PATCH 2/2] stringlist: fix division by zero Eric Bénard
2012-08-29  7:10   ` Sascha Hauer
2012-08-28 15:30 ` [PATCH 1/2] usb_hub_power_on: wait for the power to be stable Eric Bénard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox