diff options
author | Stefan Roese <sr@denx.de> | 2016-03-15 13:59:12 +0100 |
---|---|---|
committer | Marek Vasut <marex@denx.de> | 2016-03-20 18:00:44 +0100 |
commit | f7f601002d26cd5afc2241728a1e4d6106044184 (patch) | |
tree | 1154edd03797d2d2f3f70be1fede500a81ff5118 /common/image.c | |
parent | e4fb863f6dec0002069d57422ebe3ce3af69a273 (diff) | |
download | u-boot-imx-f7f601002d26cd5afc2241728a1e4d6106044184.zip u-boot-imx-f7f601002d26cd5afc2241728a1e4d6106044184.tar.gz u-boot-imx-f7f601002d26cd5afc2241728a1e4d6106044184.tar.bz2 |
usb: legacy_hub_port_reset(): Speedup hub reset handling
Start with a short USB hub reset delay of 20ms. This can be enough for
some configurations.
The 2nd delay at the end 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().
Signed-off-by: Stefan Roese <sr@denx.de>
Cc: Simon Glass <sjg@chromium.org>
Acked-by: Hans de Goede <hdegoede@redhat.com>
Tested-by: Stephen Warren <swarren@nvidia.com>
Cc: Marek Vasut <marex@denx.de>
Diffstat (limited to 'common/image.c')
0 files changed, 0 insertions, 0 deletions