mirror of
https://github.com/torvalds/linux.git
synced 2026-11-27 17:02:17 +00:00
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 <[email protected]>
Acked-by: Peter Chen <[email protected]>
Signed-off-by: Yinhao Hu <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>