CHROMIUM: usb: dwc3: increase time delay before add xhci-hcd

This patch increase time delay to 300ms before add xhci-hcd
and initialize xhci controller. It's useful for some special
USB3 devices (e.g. Apple USB-C Dock with USB3 Transcend Flash
Drive plugged in the Dock USB port).

Without this patch, it's easy to fail in detecting the USB3
Transcend Flash Drive which is plugged in the USB-C Dock USB
port, however, the USB3 HUB integrated in the USB-C Dock can
be detected normally. And in this error case, if we just re-plug
the USB3 Flash Drive, it can be detected successfully. So maybe
it's VBUS power problem that cause Dock working unsteadily when
inserted. We need to delay more time to wait until VBUS power
on steadily for these special USB3 devices.

BUG=chrome-os-partner:59166
TEST=Plug in Apple USB-C Dock with USB3 Transcend Flash Drive
plug in the Dock USB port. Check if the Flash Drive can be
detected at super-speed.

Change-Id: I8455786fa2c6909ccbfff8e90201ede1fa2face4
Signed-off-by: William wu <wulf@rock-chips.com>
Reviewed-on: https://chromium-review.googlesource.com/405348
Commit-Ready: Eddie Cai <eddie.cai.rk@gmail.com>
Tested-by: Inno Park <ih.yoo.park@samsung.com>
Reviewed-by: Guenter Roeck <groeck@chromium.org>
1 file changed