WSL2-Linux-Kernel/drivers/usb/musb
Dan Carpenter 04ab997a63 usb: musb: da8xx: fix a resource leak in probe()
commit de644a4a86be04ed8a43ef8267d0f7d021941c5e upstream.

Call usb_phy_generic_unregister() if of_platform_populate() fails.

Fixes: d6299b6efb ("usb: musb: Add support of CPPI 4.1 DMA controller to DA8xx")
Cc: stable <stable@kernel.org>
Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org>
Link: https://lore.kernel.org/r/69af1b1d-d3f4-492b-bcea-359ca5949f30@moroto.mountain
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2024-07-05 09:14:47 +02:00
..
Kconfig
Makefile
am35x.c
cppi_dma.c
cppi_dma.h
da8xx.c usb: musb: da8xx: fix a resource leak in probe() 2024-07-05 09:14:47 +02:00
davinci.c
davinci.h
jz4740.c Revert "usb: common: usb-conn-gpio: Set last role to unknown before initial detection" 2023-07-23 13:47:25 +02:00
mediatek.c usb: musb: mediatek: don't unregister something that wasn't registered 2023-03-10 09:39:40 +01:00
musb_core.c
musb_core.h
musb_cppi41.c
musb_debug.h
musb_debugfs.c usb: musb: Modify the "HWVers" register address 2023-10-19 23:05:35 +02:00
musb_dma.h
musb_dsps.c
musb_gadget.c
musb_gadget.h
musb_gadget_ep0.c
musb_host.c usb: musb: Get the musb_qh poniter after musb_giveback 2023-10-19 23:05:35 +02:00
musb_host.h
musb_io.h
musb_regs.h
musb_trace.c
musb_trace.h
musb_virthub.c
musbhsdma.c
omap2430.c
omap2430.h
sunxi.c
tusb6010.c
tusb6010.h
tusb6010_omap.c
ux500.c
ux500_dma.c