diff options
author | Miaoqian Lin <linmq006@gmail.com> | 2022-03-18 10:57:46 +0000 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2022-04-13 15:03:39 +0530 |
commit | 3588060befff75ff39fab7122b94c6fb3148fcda (patch) | |
tree | 007c00d195973d317e0c808d6eb4988c15cf6f88 /Documentation | |
parent | a9f17d0c0778dd971dc9770fa0a2085a41d8c5e4 (diff) | |
download | linux-3588060befff75ff39fab7122b94c6fb3148fcda.tar.gz linux-3588060befff75ff39fab7122b94c6fb3148fcda.tar.bz2 linux-3588060befff75ff39fab7122b94c6fb3148fcda.zip |
phy: ti: omap-usb2: Fix error handling in omap_usb2_enable_clocks
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: ed31ee7cf1fe ("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>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions