mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH] USB: host: hub: increase delay after device removal
@ 2016-12-28 15:29 Christoph Fritz
  2017-01-09  8:38 ` Sascha Hauer
  0 siblings, 1 reply; 6+ messages in thread
From: Christoph Fritz @ 2016-12-28 15:29 UTC (permalink / raw)
  To: barebox

This patch increases delay time for slow hubs after device removal.

Signed-off-by: Christoph Fritz <chf.fritz@googlemail.com>
---
 drivers/usb/core/hub.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/usb/core/hub.c b/drivers/usb/core/hub.c
index f44aea5..0854e3a 100644
--- a/drivers/usb/core/hub.c
+++ b/drivers/usb/core/hub.c
@@ -201,7 +201,7 @@ static void usb_hub_port_connect_change(struct usb_device *dev, int port)
 	if (dev->children[port] && !(portstatus & USB_PORT_STAT_ENABLE))
 		usb_remove_device(dev->children[port]);
 
-	mdelay(200);
+	mdelay(500);
 
 	/* Reset the port */
 	if (hub_port_reset(dev, port, &portstatus) < 0) {
-- 
2.1.4



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

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

end of thread, other threads:[~2018-05-23 13:36 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-12-28 15:29 [PATCH] USB: host: hub: increase delay after device removal Christoph Fritz
2017-01-09  8:38 ` Sascha Hauer
2018-05-17 16:19   ` Christoph Fritz
2018-05-22  7:54     ` Sascha Hauer
2018-05-22  8:09       ` Christoph Fritz
2018-05-23 13:36         ` Sascha Hauer

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