linux-stable/drivers/usb/chipidea
Yinhao Hu d6f712f53b usb: chipidea: fix missing goto in ci_hdrc_probe
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>
2023-04-20 11:16:42 +02:00
..
bits.h
ci.h usb: chipidea: core: fix possible concurrent when switch role 2023-03-23 18:17:32 +01:00
ci_hdrc_imx.c usb: Use of_property_read_bool() for boolean properties 2023-03-16 12:14:56 +01:00
ci_hdrc_imx.h usb: chipidea: usbmisc: group usbmisc operations for PM 2022-10-23 14:34:53 +02:00
ci_hdrc_msm.c
ci_hdrc_pci.c
ci_hdrc_tegra.c usb: chipidea: tegra: Add runtime PM and OPP support 2021-12-16 14:05:23 +01:00
ci_hdrc_usb2.c usb: chipidea: Add support for VBUS control with PHY 2022-08-31 09:07:52 +02:00
core.c usb: chipidea: fix missing goto in ci_hdrc_probe 2023-04-20 11:16:42 +02:00
debug.c usb: chipidea: debug: remove redundant 'role' debug file 2023-03-23 17:27:46 +01:00
host.c usb: chipidea: host: add suspend/resume support for host controller 2022-10-23 14:34:53 +02:00
host.h
Kconfig usb: chipidea: make configs for glue drivers visible with EXPERT 2022-09-08 13:32:50 +02:00
Makefile usb: chipidea: imx: avoid unnecessary probe defer 2023-04-05 19:16:59 +02:00
otg.c usb: chipidea: core: fix possible concurrent when switch role 2023-03-23 18:17:32 +01:00
otg.h usb: chipidea: core: add controller resume support when controller is powered off 2022-10-23 14:34:53 +02:00
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 usb: chipidea: tracing: Use the new __vstring() helper 2022-07-15 17:44:40 -04:00
udc.c usb: chipidea: udc: add suspend/resume support for device controller 2022-10-23 14:34:53 +02:00
udc.h
ulpi.c
usbmisc_imx.c usb: chipidea: imx: Drop empty platform remove function 2023-01-06 16:37:14 +01:00