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

2015-11-12 Thread Kishon Vijay Abraham I
Hi, On Thursday 05 November 2015 03:14 AM, Heiko Stuebner 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

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

2015-11-04 Thread Doug Anderson
Heiko On Wed, Nov 4, 2015 at 1:44 PM, Heiko Stuebner 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 oth

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

2015-11-04 Thread Heiko Stuebner
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 --- drivers