usb: dwc2: Add msleep for host-only
authorHeiko Stuebner <heiko@sntech.de>
Fri, 14 Oct 2016 17:47:24 +0000 (10:47 -0700)
committerFelipe Balbi <felipe.balbi@linux.intel.com>
Mon, 17 Oct 2016 09:30:29 +0000 (12:30 +0300)
commita07ce8d34eb3d9c6cec3aa25f7713e6aafad2260
tree12aa3b2164b6cfaba84cdaa1d31d4e196ed57a75
parentd889c23ce4e3159e3d737f55f9d686a030a7ba87
usb: dwc2: Add msleep for host-only

Although a host-only controller should not have any associated delay,
some rockchip SOC platforms will not show the correct host-values of
registers until after a delay.

So add a 50 ms sleep when in host-only mode.

Signed-off-by: John Youn <johnyoun@synopsys.com>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
drivers/usb/dwc2/core.c