OpenCloudOS-Kernel/drivers/usb/musb
Dan Carpenter bcf78eca09 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:33:58 +02:00
..
Kconfig usb: musb: mpfs: convert SOC_MICROCHIP_POLARFIRE to ARCH_MICROCHIP_POLARFIRE 2023-03-16 12:14:33 +01:00
Makefile
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 usb: Explicitly include correct DT includes 2023-07-25 18:20:02 +02:00
mediatek.c usb: Explicitly include correct DT includes 2023-07-25 18:20:02 +02:00
mpfs.c usb: Explicitly include correct DT includes 2023-07-25 18:20:02 +02:00
musb_core.c usb: musb: Fix deferred probing 2023-08-04 14:45:58 +02:00
musb_core.h ARM/musb: omap2: Remove global GPIO numbers from TUSB6010 2023-05-24 15:01:59 +02:00
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 usb: Explicitly include correct DT includes 2023-07-25 18:20:02 +02:00
musb_gadget.c usb: musb: Remove an unnecessary NULL value 2023-08-04 14:48:55 +02:00
musb_gadget.h
musb_gadget_ep0.c
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 usb: musb: omap2430: Convert to platform remove callback returning void 2023-04-05 19:07:42 +02:00
omap2430.h
sunxi.c usb: Explicitly include correct DT includes 2023-07-25 18:20:02 +02:00
tusb6010.c usb: musb: Use read_poll_timeout() 2023-07-25 18:18:18 +02:00
tusb6010.h
tusb6010_omap.c
ux500.c usb: musb: ux500: Convert to platform remove callback returning void 2023-04-05 19:07:42 +02:00
ux500_dma.c