From: Marek Vasut <marek.vasut@gmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] usb: increase delay after port reset
Date: Mon, 2 Apr 2012 19:29:16 +0200 [thread overview]
Message-ID: <201204021929.16682.marek.vasut@gmail.com> (raw)
In-Reply-To: <1320883438-12274-1-git-send-email-yanok@emcraft.com>
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 <yanok@emcraft.com>
> ---
> 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
next prev parent reply other threads:[~2012-04-02 17:29 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-11-10 0:03 [U-Boot] [PATCH] usb: increase delay after port reset Ilya Yanok
2011-11-10 1:09 ` Mike Frysinger
2011-11-16 21:17 ` Ilya Yanok
2012-04-02 17:29 ` Marek Vasut [this message]
2012-04-02 19:00 ` Ilya Yanok
2012-04-03 15:19 ` Stefano Babic
2012-04-03 16:16 ` Marek Vasut
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=201204021929.16682.marek.vasut@gmail.com \
--to=marek.vasut@gmail.com \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox