]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit96db9a1628158a01fe695a56cf7991ee77021396
tree12aa3b2164b6cfaba84cdaa1d31d4e196ed57a75
parent8a6ab4b2cf0329906efa860c2d5ffa3737d53d6b
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