phy: ti: omap-usb2: Fix error handling in omap_usb2_enable_clocks
stable inclusion from stable-v5.10.114 commit 4691ce8f28da56b467a4ddc58dc00afb0ef1e41b category: bugfix bugzilla: https://gitee.com/openeuler/kernel/issues/I5IY1V Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=4691ce8f28da56b467a4ddc58dc00afb0ef1e41b -------------------------------- [ Upstream commit 3588060b ] The corresponding API for clk_prepare_enable is clk_disable_unprepare. Make sure that the clock is unprepared on exit by changing clk_disable to clk_disable_unprepare. Fixes: ed31ee7c ("phy: ti: usb2: Fix logic on -EPROBE_DEFER") Signed-off-by:Miaoqian Lin <linmq006@gmail.com> Link: https://lore.kernel.org/r/20220318105748.19532-1-linmq006@gmail.com Signed-off-by:
Vinod Koul <vkoul@kernel.org> Signed-off-by:
Sasha Levin <sashal@kernel.org> Signed-off-by:
Zheng Zengkai <zhengzengkai@huawei.com> Acked-by:
Xie XiuQi <xiexiuqi@huawei.com>
Loading
Please sign in to comment