summaryrefslogtreecommitdiff
path: root/lib/crc4.c
diff options
context:
space:
mode:
authorYinhao Hu <dddddd@hust.edu.cn>2023-04-12 08:58:52 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2023-04-20 12:16:42 +0300
commitd6f712f53b79f5017cdcefafb7a5aea9ec52da5d (patch)
treeb9f7108e8456223800251f10178ddb3093492ada /lib/crc4.c
parenta3afbf5cc887fc3401f012fe629810998ed61859 (diff)
downloadlinux-d6f712f53b79f5017cdcefafb7a5aea9ec52da5d.tar.xz
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: 74475ede784d ("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>
Diffstat (limited to 'lib/crc4.c')
0 files changed, 0 insertions, 0 deletions