phy: rockchip-usb: Fixup rockchip_usb_phy_power_on failure path
If rockchip_usb_phy_power() fails, we need to call clk_disable_unprepare() before return. This is to ensure we have balanced clk_enable/disable calls. Also remove unneeded ret checking in rockchip_usb_phy_power_off. Signed-off-by: NAxel Lin <axel.lin@ingics.com> Signed-off-by: NKishon Vijay Abraham I <kishon@ti.com>
Showing
想要评论请 注册 或 登录