linux/drivers/usb/musb
Dan Carpenter bcf78eca09 usb: musb: da8xx: fix a resource leak in probe()
commit de644a4a86 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:33:58 +02:00
..
cppi_dma.h usb: musb: Remove unused function declarations 2023-08-08 10:36:43 +02:00
da8xx.c usb: musb: da8xx: fix a resource leak in probe() 2024-07-05 09:33:58 +02:00
jz4740.c
Kconfig
Makefile
mediatek.c
mpfs.c
musb_core.c
musb_core.h
musb_cppi41.c
musb_debug.h
musb_debugfs.c usb: musb: Modify the "HWVers" register address 2023-10-02 13:37:08 +02:00
musb_dma.h usb: musb: Remove unused function declarations 2023-08-08 10:36:43 +02:00
musb_dsps.c
musb_gadget_ep0.c
musb_gadget.c
musb_gadget.h
musb_host.c usb: musb: Get the musb_qh poniter after musb_giveback 2023-10-02 13:37:57 +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_omap.c
tusb6010.c
tusb6010.h
ux500_dma.c
ux500.c