USB: relax usbcore reset timings
authorWolfgang Grandegger <wg@denx.de>
Wed, 21 Dec 2011 00:01:09 +0000 (00:01 +0000)
committerWolfgang Denk <wd@denx.de>
Sat, 3 Mar 2012 15:56:35 +0000 (16:56 +0100)
commita1a28c6e64b9a6b0b911d066c627bc77f52179fb
tree9f5b449928c311c6c33a2ba56ace1561e1db1775
parentf9636e8d38abde096fbb32fee5a36bbdb02b7cae
USB: relax usbcore reset timings

Following the corresponding Linux code, this patch relaxes reset timings
waiting at least 100ms after power to the ports. There are some reports
that it helps make enumeration work better on some high speed devices.
Furthermore, the wait is only done once after power has been enabled
on all ports.

CC: Remy Bohmer <linux@bohmer.net>
CC: Vincent Palatin <vpalatin@chromium.org>
Signed-off-by: Wolfgang Grandegger <wg@denx.de>
common/usb_hub.c