linux/drivers/usb/dwc3
Radhey Shyam Pandey c1a0ecbf32 usb: dwc3: xilinx: fix error handling in zynqmp init error paths
Fix error handling and resource cleanup i.e remove invalid
phy_exit() after failed phy_init(), route failures through
proper cleanup paths and return 0 explicitly on success.

Fixes: 84770f028f ("usb: dwc3: Add driver for Xilinx platforms")
Cc: stable@vger.kernel.org
Acked-by: Thinh Nguyen <Thinh.Nguyen@synopsys.com>
Signed-off-by: Radhey Shyam Pandey <radhey.shyam.pandey@amd.com>
Link: https://patch.msgid.link/20260519115529.2980421-1-radhey.shyam.pandey@amd.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2026-05-21 16:40:50 +02:00
..
core.c usb: dwc3: Move GUID programming after PHY initialization 2026-04-27 09:57:26 -06:00
core.h usb: dwc3: fix a typo 'HishSpeed' 2026-03-11 15:13:56 +01:00
debug.h usb: dwc3: Add trace event for dwc3_set_prtcap 2025-09-06 15:21:59 +02:00
debugfs.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
drd.c usb: dwc3: Add dwc pointer to dwc3_readl/writel 2026-01-16 13:47:07 +01:00
dwc3-am62.c usb: Remove redundant pm_runtime_mark_last_busy() calls 2025-11-21 15:11:53 +01:00
dwc3-apple.c usb: dwc3: apple: Ignore USB role switches to the active role 2026-01-14 16:02:54 +01:00
dwc3-exynos.c usb: dwc3-exynos: add support for ExynosAutov920 2025-05-21 13:12:43 +02:00
dwc3-generic-plat.c usb: dwc3: starfive: Add JHB100 USB 2.0 DRD controller 2026-04-11 12:02:43 +02:00
dwc3-google.c dwc3: google: Fix PM domain leak in dwc3_google_probe() 2026-03-18 16:18:22 +01:00
dwc3-haps.c
dwc3-imx.c usb: dwc3: imx: avoid calling imx suspend/resume callbacks twice 2026-03-18 16:22:18 +01:00
dwc3-imx8mp.c usb: dwc3: imx8mp: fix memory leak on probe failure path 2026-04-02 09:37:45 +02:00
dwc3-keystone.c usb: Switch back to struct platform_driver::remove() 2024-10-04 15:13:03 +02:00
dwc3-meson-g12a.c usb: dwc3: meson-g12a: fix device leaks at unbind 2025-07-25 10:50:43 +02:00
dwc3-octeon.c usb: Switch back to struct platform_driver::remove() 2024-10-04 15:13:03 +02:00
dwc3-of-simple.c usb: dwc3: of-simple: fix clock resource leak in dwc3_of_simple_probe 2025-12-17 14:54:38 +01:00
dwc3-omap.c usb: dwc3: omap: Fix devm_regulator_get_optional() error handling 2025-01-11 17:02:30 +01:00
dwc3-pci.c usb: dwc3: pci: add support for the Intel Nova Lake -H 2026-03-11 16:19:41 +01:00
dwc3-qcom-legacy.c usb: dwc3: qcom: Snapshot driver for backwards compatibilty 2025-04-15 14:29:19 +02:00
dwc3-qcom.c usb: dwc3: qcom: simplify error check in dwc3_qcom_find_num_ports() 2026-03-11 15:23:37 +01:00
dwc3-rtk.c usb: Switch back to struct platform_driver::remove() 2024-10-04 15:13:03 +02:00
dwc3-st.c usb: dwc3: Don't use %pK through printk 2025-03-14 09:17:30 +01:00
dwc3-xilinx.c usb: dwc3: xilinx: fix error handling in zynqmp init error paths 2026-05-21 16:40:50 +02:00
ep0.c usb: dwc3: Log dwc3 address in traces 2026-01-27 15:52:45 +01:00
gadget.c usb: dwc3: gadget: use explicit 0 for success in __dwc3_gadget_kick_transfer() 2026-03-11 15:23:43 +01:00
gadget.h usb: dwc3: Add dwc pointer to dwc3_readl/writel 2026-01-16 13:47:07 +01:00
glue.h usb: dwc3: add needs_full_reinit flag 2026-02-25 10:35:58 -08:00
host.c usb: dwc3: keep susphy enabled during exit to avoid controller faults 2025-12-17 14:49:18 +01:00
io.h usb: dwc3: Log dwc3 address in traces 2026-01-27 15:52:45 +01:00
Kconfig usb: dwc3: introduce flatten model driver of i.MX Soc 2026-02-25 10:35:58 -08:00
Makefile usb: dwc3: introduce flatten model driver of i.MX Soc 2026-02-25 10:35:58 -08:00
trace.c
trace.h usb: dwc3: Log dwc3 address in traces 2026-01-27 15:52:45 +01:00
ulpi.c usb: dwc3: Support USB3340x ULPI PHY high-speed negotiation. 2026-03-11 15:00:28 +01:00