diff options
author | Axel Lin <axel.lin@ingics.com> | 2015-03-04 04:33:32 +0300 |
---|---|---|
committer | Kishon Vijay Abraham I <kishon@ti.com> | 2015-03-12 08:31:17 +0300 |
commit | 6b08e36ba32b3cb4d44af617c8984f9c2bfdf964 (patch) | |
tree | 9100d38a29c9d9f7e4135ed533ed15a54717f191 /drivers/phy/phy-core.c | |
parent | a5e5d3c0b239a67d712995f37140e354b5547003 (diff) | |
download | linux-6b08e36ba32b3cb4d44af617c8984f9c2bfdf964.tar.xz |
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: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Diffstat (limited to 'drivers/phy/phy-core.c')
0 files changed, 0 insertions, 0 deletions