linux-yocto/drivers/usb/dwc3
Krishna Kurapati 6cfbff5f8d usb: dwc3: qcom: Don't leave BCR asserted
commit ef8abc0ba4 upstream.

Leaving the USB BCR asserted prevents the associated GDSC to turn on. This
blocks any subsequent attempts of probing the device, e.g. after a probe
deferral, with the following showing in the log:

[    1.332226] usb30_prim_gdsc status stuck at 'off'

Leave the BCR deasserted when exiting the driver to avoid this issue.

Cc: stable <stable@kernel.org>
Fixes: a4333c3a6b ("usb: dwc3: Add Qualcomm DWC3 glue driver")
Acked-by: Thinh Nguyen <Thinh.Nguyen@synopsys.com>
Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Signed-off-by: Krishna Kurapati <krishna.kurapati@oss.qualcomm.com>
Link: https://lore.kernel.org/r/20250709132900.3408752-1-krishna.kurapati@oss.qualcomm.com
[ adapted to individual clock management instead of bulk clock operations ]
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2025-07-24 08:53:21 +02:00
..
core.c usb: dwc3: Abort suspend on soft disconnect failure 2025-07-17 18:35:17 +02:00
core.h usb: dwc3: Set SUSPENDENABLE soon after phy init 2025-03-13 12:58:34 +01:00
debug.h
debugfs.c
drd.c usb: dwc3: Set SUSPENDENABLE soon after phy init 2025-03-13 12:58:34 +01:00
dwc3-am62.c
dwc3-exynos.c
dwc3-haps.c
dwc3-imx8mp.c
dwc3-keystone.c
dwc3-meson-g12a.c
dwc3-octeon.c
dwc3-of-simple.c
dwc3-omap.c
dwc3-pci.c usb: dwc3: gadget: Avoid using reserved endpoints on Intel Merrifield 2025-05-02 07:50:54 +02:00
dwc3-qcom.c usb: dwc3: qcom: Don't leave BCR asserted 2025-07-24 08:53:21 +02:00
dwc3-st.c
dwc3-xilinx.c usb: dwc3: xilinx: Prevent spike in reset signal 2025-05-02 07:50:51 +02:00
ep0.c
gadget.c usb: dwc3: Abort suspend on soft disconnect failure 2025-07-17 18:35:17 +02:00
gadget.h
host.c
io.h
Kconfig
Makefile
trace.c
trace.h
ulpi.c