phy: samsung_usb2: Fixup samsung_usb2_phy_power_on/off paths
authorAxel Lin <axel.lin@ingics.com>
Tue, 17 Mar 2015 00:42:38 +0000 (08:42 +0800)
committerKishon Vijay Abraham I <kishon@ti.com>
Wed, 25 Mar 2015 23:36:10 +0000 (05:06 +0530)
commit7a504c935e42737e5ad40ea2f6f2d21b4dc27e81
treed678f93bce11774a3468d055718a5853f41583c0
parent2be608561abfcceda4b35b71a0c1ec5088bb39b9
phy: samsung_usb2: Fixup samsung_usb2_phy_power_on/off paths

Ensure we have balanced clk_prepare_enable/clk_disable_unprepare calls if
.power_on or .power_off callbacks return error.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
drivers/phy/phy-samsung-usb2.c