mirror-linux/drivers/usb/chipidea
Yinhao Hu 17993a13b5 usb: chipidea: fix missing goto in `ci_hdrc_probe`
[ Upstream commit d6f712f53b ]

From the comment of ci_usb_phy_init, it returns an error code if
usb_phy_init has failed, and it should do some clean up, not just
return directly.

Fix this by goto the error handling.

Fixes: 74475ede78 ("usb: chipidea: move PHY operation to core")
Reviewed-by: Dongliang Mu <dzm91@hust.edu.cn>
Acked-by: Peter Chen <peter.chen@kernel.org>
Signed-off-by: Yinhao Hu <dddddd@hust.edu.cn>
Link: https://lore.kernel.org/r/20230412055852.971991-1-dddddd@hust.edu.cn
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-05-11 23:03:30 +09:00
..
Kconfig usb: chipidea: make configs for glue drivers visible with EXPERT 2022-09-08 13:32:50 +02:00
Makefile
bits.h
ci.h usb: chipidea: core: fix possible concurrent when switch role 2023-03-30 12:49:24 +02:00
ci_hdrc_imx.c
ci_hdrc_imx.h
ci_hdrc_msm.c
ci_hdrc_pci.c
ci_hdrc_tegra.c
ci_hdrc_usb2.c
core.c usb: chipidea: fix missing goto in `ci_hdrc_probe` 2023-05-11 23:03:30 +09:00
debug.c USB: chipidea: fix memory leak with using debugfs_lookup() 2023-03-11 13:55:36 +01:00
host.c
host.h
otg.c usb: chipidea: core: fix possible concurrent when switch role 2023-03-30 12:49:24 +02:00
otg.h
otg_fsm.c usb: chipidea: fix deadlock in ci_otg_del_timer 2022-11-09 12:34:18 +01:00
otg_fsm.h
trace.c
trace.h
udc.c
udc.h
ulpi.c
usbmisc_imx.c