From: Chin Liang See <clsee@altera.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] usb: dwc2: Add delay to fix the USB detection problem on SoCFPGA
Date: Fri, 6 May 2016 21:28:54 +0800 [thread overview]
Message-ID: <1462541334.25146.11.camel@altera.com> (raw)
In-Reply-To: <1462535617-26561-1-git-send-email-sr@denx.de>
On Fri, 2016-05-06 at 13:53 +0200, Stefan Roese wrote:
> With patch c998da0d (usb: Change power-on / scanning timeout
> handling),
> the USB scanning is started earlier and with a smaller timeout. This
> resulted on SoCFPGA (using the DWC2 driver) in some USB sticks not
> getting detected any more. This patch now adds a 1 second delay (in
> the host mode only) to the DWC2 driver before the scanning is
> started.
> With this delay, now all problematic USB keys are detected
> successfully
> again. And there is no need any more to change the delay / timeout
> in the common USB code (usb_hub.c).
>
> Signed-off-by: Stefan Roese <sr@denx.de>
> Cc: Chin Liang See <clsee@altera.com>
> Cc: Dinh Nguyen <dinguyen@opensource.altera.com>
> Cc: Hans de Goede <hdegoede@redhat.com>
> Cc: Stephen Warren <swarren@nvidia.com>
> Cc: Marek Vasut <marex@denx.de>
> ---
> drivers/usb/host/dwc2.c | 9 +++++++++
> 1 file changed, 9 insertions(+)
>
>
For record, works for my problematic pen drives. This is apply on top
of Marek's patch except 7/7
Reviewed-by: Chin Liang See <clsee@altera.com>
Tested-by: Chin Liang See <clsee@altera.com>
Thanks
Chin Liang
prev parent reply other threads:[~2016-05-06 13:28 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-05-06 11:53 [U-Boot] [PATCH] usb: dwc2: Add delay to fix the USB detection problem on SoCFPGA Stefan Roese
2016-05-06 13:28 ` Chin Liang See [this message]
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=1462541334.25146.11.camel@altera.com \
--to=clsee@altera.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