From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marek Vasut Date: Mon, 2 Apr 2012 19:29:16 +0200 Subject: [U-Boot] [PATCH] usb: increase delay after port reset In-Reply-To: <1320883438-12274-1-git-send-email-yanok@emcraft.com> References: <1320883438-12274-1-git-send-email-yanok@emcraft.com> Message-ID: <201204021929.16682.marek.vasut@gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Ilya Yanok, > In our setup (OMAP3 EHCI host, keyboard, mouse mass storage and BT > dongle devices connected via several hubs) keyboard fails to initialize > during the bus scan (stalled endpoint while get_descriptor/64) and after > that keyboard is unusable (even in Linux) until power off/on. > > Increasing the delay after port reset from 200ms to 260ms solves this > problem. Do we still have this problem? > Signed-off-by: Ilya Yanok > --- > common/usb.c | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/common/usb.c b/common/usb.c > index bed5116..5e282c6 100644 > --- a/common/usb.c > +++ b/common/usb.c > @@ -1147,7 +1147,7 @@ void usb_hub_port_connect_change(struct usb_device > *dev, int port) return; > } > > - wait_ms(200); > + wait_ms(260); > > /* Allocate a new device struct for it */ > usb = usb_alloc_new_device(); Best regards, Marek Vasut