Thread (18 messages) 18 messages, 4 authors, 2015-12-05

[PATCH 1/8] phy: rockchip-usb: fix clock get-put mismatch

From: dianders@chromium.org (Doug Anderson)
Date: 2015-11-04 23:35:01
Also in: linux-rockchip, lkml

Heiko

On Wed, Nov 4, 2015 at 1:44 PM, Heiko Stuebner [off-list ref] wrote:
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>
---
 drivers/phy/phy-rockchip-usb.c | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
Reviewed-by: Douglas Anderson <dianders@chromium.org>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help