commit | 75d390fecf9e69eebca7f15de40d761e33fcfd7b | [log] [tgz] |
---|---|---|
author | Heiko Stuebner <heiko@sntech.de> | Thu Nov 19 22:22:22 2015 +0100 |
committer | Kishon Vijay Abraham I <kishon@ti.com> | Sun Dec 20 15:21:38 2015 +0530 |
tree | a278c7c5eaf44b53ef52568b9ce01ab04df7e1bb | |
parent | 30e9a0b2147c8405109ad98ae670829dd92e4516 [diff] |
phy: rockchip-usb: fix clock get-put mismatch Currently the phy driver only gets the optional clock reference but never puts it again, neither during error handling nor on remove. Fix that by moving the clk_put to a devm-action that gets called at the right time when all other devm actions are done. Signed-off-by: Heiko Stuebner <heiko@sntech.de> Reviewed-by: Douglas Anderson <dianders@chromium.org> Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>