android_kernel_xiaomi_sm8350/drivers/usb/chipidea
Yinhao Hu bd7a3e6416 usb: chipidea: fix missing goto in ci_hdrc_probe
[ Upstream commit d6f712f53b79f5017cdcefafb7a5aea9ec52da5d ]

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-17 11:35:49 +02:00
..
bits.h
ci_hdrc_imx.c
ci_hdrc_imx.h
ci_hdrc_msm.c
ci_hdrc_pci.c
ci_hdrc_tegra.c
ci_hdrc_usb2.c
ci_hdrc_zevio.c
ci.h usb: chipidea: core: fix possible concurrent when switch role 2023-04-05 11:16:41 +02:00
core.c usb: chipidea: fix missing goto in ci_hdrc_probe 2023-05-17 11:35:49 +02:00
debug.c
host.c
host.h
Kconfig
Makefile
otg_fsm.c
otg_fsm.h
otg.c usb: chipidea: core: fix possible concurrent when switch role 2023-04-05 11:16:41 +02:00
otg.h
udc.c
udc.h
ulpi.c
usbmisc_imx.c