diff options
author | Axel Lin <[email protected]> | 2015-03-17 08:39:01 +0800 |
---|---|---|
committer | Kishon Vijay Abraham I <[email protected]> | 2015-03-26 05:06:09 +0530 |
commit | 080de5ba390c54b7504c43b36ae21911acf66b30 (patch) | |
tree | 65ae710b35ff71025efe3738119b3f9ff108fb5c /lib/mpi/mpiutil.c | |
parent | 739ae3452d0ee199b3cfe5e52214d9ccd8e358ea (diff) |
phy: stih41x-usb: Fixup stih41x_usb_phy_power_on failure path
If stih41x_usb_phy_power_on() fails, we need to call clk_disable_unprepare()
before return error. This is to ensure we have balanced clk_enable/disable
calls.
Signed-off-by: Axel Lin <[email protected]>
Acked-by: Patrice Chotard <[email protected]>
Signed-off-by: Kishon Vijay Abraham I <[email protected]>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions