phy: meson8b-usb2: fix missing clk_disable_unprepare() on error
authorWei Yongjun <weiyongjun1@huawei.com>
Sat, 22 Oct 2016 14:33:42 +0000 (14:33 +0000)
committerKishon Vijay Abraham I <kishon@ti.com>
Fri, 18 Nov 2016 12:49:14 +0000 (18:19 +0530)
commitf42bec197d7f6c8c079b62f22ac4857c1e43d28d
tree91370bd06b1cd68a2bd9a89716efcbb27f388e68
parent7965ba051e341e94af180efd08815e4254c1bc8c
phy: meson8b-usb2: fix missing clk_disable_unprepare() on error

Fix the missing clk_disable_unprepare() before return from
phy_meson8b_usb2_power_on() in the error handling case.

Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
drivers/phy/phy-meson8b-usb2.c