[U-Boot] [PATCH 1/6] usb: legacy_hub_port_reset(): Speedup hub reset handling

Stephen Warren swarren at wwwdotorg.org
Fri Mar 11 01:06:15 CET 2016


On 03/10/2016 08:50 AM, Stefan Roese wrote:
> Start with a short USB hub reset delay of 10ms. This can be enough for
> some configurations.
>
> The 2nd delay at the of the loop is completely removed. Since the delay
> hasn't been long enough, a longer delay time of 200ms is assigned. And
> will be used in the next loop round.
>
> This hub reset handling is also used in the v4.4 Linux USB driver,
> hub_port_reset().

This patch,
Tested-by: Stephen Warren <swarren at nvidia.com>

(Tested with 1 USB SD card reader, 1 USB Ethernet dongle, 4 USB flash 
drives, which IIRC includes some of the problematic devices that 
triggered previous changes to the USB enumeration code in U-Boot)



More information about the U-Boot mailing list