]> Git Repo - J-u-boot.git/commit
usb: dwc2: Add delay to fix the USB detection problem on SoCFPGA
authorStefan Roese <[email protected]>
Fri, 6 May 2016 11:53:37 +0000 (13:53 +0200)
committerMarek Vasut <[email protected]>
Fri, 6 May 2016 18:06:56 +0000 (20:06 +0200)
commit2bf352f0c1b7f58d4610bc0777e8febbd2dfd5ff
tree85cf01c41f8658d64c1559ce3e3f998773d29e17
parentd81db48d418edc30301961781d8a64d7cc109dd4
usb: dwc2: Add delay to fix the USB detection problem on SoCFPGA

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 <[email protected]>
Cc: Chin Liang See <[email protected]>
Cc: Dinh Nguyen <[email protected]>
Cc: Hans de Goede <[email protected]>
Cc: Stephen Warren <[email protected]>
Cc: Marek Vasut <[email protected]>
drivers/usb/host/dwc2.c
This page took 0.034911 seconds and 4 git commands to generate.