diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2021-05-07 09:58:43 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2021-05-07 10:00:08 +0200 |
commit | 9fc2b0364c4b686d110b772be2245be3a513407d (patch) | |
tree | b7ce72ee8a28e43c0db45bf7b1f4fad0ec194de0 /dts/Bindings/arm | |
parent | a7a8b88ce7f9325af06da405cff4f65b5b0e9882 (diff) | |
download | barebox-9fc2b0364c4b686d110b772be2245be3a513407d.tar.gz barebox-9fc2b0364c4b686d110b772be2245be3a513407d.tar.xz |
usb: dwc2: Fix wait for mode timeout
The timeout waiting for host mode should be 110ms instead of 110us.
The timeout is the same as in Linux now and the same it was before
fdd30cc251. It takes 49ms to go to host mode on the Raspberry Pi 3b,
so host mode stopped working with 26459ab780 which removed an additional
100ms delay before dwc2_wait_for_mode() was actually called.
Fixes: fdd30cc251 ("usb: dwc2: Rework dwc2_wait_for_mode to use wait_on_timeout")
Fixes: 26459ab780 ("usb: dwc2: Rework wait for host mode during core reset")
Reported-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'dts/Bindings/arm')
0 files changed, 0 insertions, 0 deletions