linux-stable/drivers/usb/dwc3
Thinh Nguyen b19938dc91 Revert "usb: dwc3: don't reset device side if dwc3 was configured as host-only"
commit afe28cd686 upstream.

This reverts commit e835c0a4e2.

Don't omit soft-reset. During initialization, the driver may need to
perform a soft reset to ensure the phy is ready when the controller
updates the GCTL.PRTCAPDIR or other settings by issuing phy soft-reset.
Many platforms often have access to DCTL register for soft-reset despite
being host-only. If there are actual reported issues from the platforms
that don't expose DCTL registers, then we will need to revisit (perhaps
to teach dwc3 to perform xhci's soft-reset USBCMD.HCRST).

Cc:  <stable@vger.kernel.org>
Fixes: e835c0a4e2 ("usb: dwc3: don't reset device side if dwc3 was configured as host-only")
Signed-off-by: Thinh Nguyen <Thinh.Nguyen@synopsys.com>
Link: https://lore.kernel.org/r/7668ab11a48f260820825274976eb41fec7f54d1.1703282469.git.Thinh.Nguyen@synopsys.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2024-01-25 14:33:37 -08:00
..
Kconfig
Makefile
core.c Revert "usb: dwc3: don't reset device side if dwc3 was configured as host-only" 2024-01-25 14:33:37 -08:00
core.h Revert "usb: dwc3: core: Enable AutoRetry feature in the controller" 2023-08-11 11:45:33 +02:00
debug.h usb: dwc3: debugfs: Add and remove endpoint dirs dynamically 2021-06-30 08:48:27 -04:00
debugfs.c usb: dwc3: debugfs: Add and remove endpoint dirs dynamically 2021-06-30 08:48:27 -04:00
drd.c
dwc3-exynos.c
dwc3-haps.c
dwc3-keystone.c
dwc3-of-simple.c
dwc3-omap.c usb: dwc3: omap: fix "unbalanced disables for smps10_out1" on omap5evm 2022-04-15 14:15:02 +02:00
dwc3-pci.c usb: dwc3: pci: skip BYT GPIO lookup table for hardwired phy 2023-08-11 11:45:33 +02:00
dwc3-qcom.c USB: dwc3: qcom: fix wakeup after probe deferral 2023-12-08 08:43:24 +01:00
dwc3-st.c
ep0.c usb: dwc: ep0: Update request status in dwc3_ep0_stall_restart 2024-01-25 14:33:37 -08:00
gadget.c usb: dwc3: Properly handle processing of pending events 2023-08-16 18:13:00 +02:00
gadget.h
host.c usb: dwc3: qcom: fix use-after-free on runtime-PM wakeup 2022-09-15 12:17:06 +02:00
io.h
trace.c
trace.h
ulpi.c usb: dwc3: ulpi: Replace CPU-based busyloop with Protocol-based one 2021-02-23 15:00:58 +01:00