linux-uconsole/drivers/usb/dwc2
Mathias Kresin 603612d9b9 usb: dwc2: use a longer core rest timeout in dwc2_core_reset()
commit 6689f0f4bb upstream.

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: Mathias Kresin <dev@kresin.me>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2019-12-05 09:21:25 +01:00
..
core.c usb: dwc2: use a longer core rest timeout in dwc2_core_reset() 2019-12-05 09:21:25 +01:00
core.h usb: dwc2: Make dwc2_readl/writel functions endianness-agnostic. 2018-07-30 10:39:18 +03:00
core_intr.c usb: dwc2: Modify dwc2_readl/writel functions prototype 2018-07-30 10:39:16 +03:00
debug.h
debugfs.c usb: dwc2: Modify dwc2_readl/writel functions prototype 2018-07-30 10:39:16 +03:00
gadget.c usb: dwc2: Fix disable all EP's on disconnect 2019-08-04 09:30:52 +02:00
hcd.c usb: dwc2: fix unbalanced use of external vbus-supply 2019-11-06 13:05:18 +01:00
hcd.h usb: dwc2: host: Fix wMaxPacketSize handling (fix webcam regression) 2019-06-19 08:18:05 +02:00
hcd_ddma.c usb: dwc2: Modify dwc2_readl/writel functions prototype 2018-07-30 10:39:16 +03:00
hcd_intr.c usb: dwc2: host: Fix wMaxPacketSize handling (fix webcam regression) 2019-06-19 08:18:05 +02:00
hcd_queue.c usb: dwc2: host: Fix wMaxPacketSize handling (fix webcam regression) 2019-06-19 08:18:05 +02:00
hw.h
Kconfig
Makefile
params.c usb: dwc2: disable power_down on rockchip devices 2019-11-24 08:20:16 +01:00
pci.c usb: dwc2: pci: Fix an error code in probe 2018-12-13 09:16:11 +01:00
platform.c usb: dwc2: Fix call location of dwc2_check_core_endianness 2018-09-05 13:12:31 +03:00