Skip to content
Commit 6689f0f4 authored by Mathias Kresin's avatar Mathias Kresin Committed by Felipe Balbi
Browse files

usb: dwc2: use a longer core rest timeout in dwc2_core_reset()



Testing on different generations of Lantiq MIPS SoC based boards, showed
that it takes up to 1500 us until the core reset bit is cleared.

The driver from the vendor SDK (ifxhcd) uses a 1 second timeout. Use the
same timeout to fix wrong hang detections and make the driver work for
Lantiq MIPS SoCs.

At least till kernel 4.14 the hanging reset only caused a warning but
the driver was probed successful. With kernel 4.19 errors out with
EBUSY.

Cc: linux-stable <stable@vger.kernel.org> # 4.19+
Signed-off-by: default avatarMathias Kresin <dev@kresin.me>
Signed-off-by: default avatarFelipe Balbi <felipe.balbi@linux.intel.com>
parent a9a367d0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment