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

Doug Anderson dianders at chromium.org
Wed Nov 4 15:34:59 PST 2015


Heiko

On Wed, Nov 4, 2015 at 1:44 PM, Heiko Stuebner <heiko at sntech.de> 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 at sntech.de>
> ---
>  drivers/phy/phy-rockchip-usb.c | 15 +++++++++++++++
>  1 file changed, 15 insertions(+)

Reviewed-by: Douglas Anderson <dianders at chromium.org>



More information about the linux-arm-kernel mailing list