Commit 619c44fd authored by Shang XiaoJing's avatar Shang XiaoJing Committed by sanglipeng
Browse files

phy: rockchip-inno-usb2: Fix missing clk_disable_unprepare() in rockchip_usb2phy_power_on()

stable inclusion
from stable-v5.10.166
commit 2a0156a4aaea97a270a388f7f561c668aeeabc96
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I87FRA

Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=2a0156a4aaea97a270a388f7f561c668aeeabc96



--------------------------------

[ Upstream commit 5daba914 ]

The clk_disable_unprepare() should be called in the error handling of
rockchip_usb2phy_power_on().

Fixes: 0e08d2a7 ("phy: rockchip-inno-usb2: add a new driver for Rockchip usb2phy")
Signed-off-by: default avatarShang XiaoJing <shangxiaojing@huawei.com>
Link: https://lore.kernel.org/r/20221205115823.16957-1-shangxiaojing@huawei.com


Signed-off-by: default avatarVinod Koul <vkoul@kernel.org>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
Signed-off-by: default avatarsanglipeng <sanglipeng1@jd.com>
parent be5a32e6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment