From: Axel Lin Date: Wed, 4 Mar 2015 01:33:32 +0000 (+0800) Subject: phy: rockchip-usb: Fixup rockchip_usb_phy_power_on failure path X-Git-Tag: omap-for-v4.2/o2_dc~276^2~5^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6b08e36ba32b3cb4d44af617c8984f9c2bfdf964;p=pandora-kernel.git 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 Signed-off-by: Kishon Vijay Abraham I --- Reading git-diff-tree failed