Re: [PATCH 1/8] phy: rockchip-usb: fix clock get-put mismatch
From: Doug Anderson
Date: Wed Nov 04 2015 - 18:35:07 EST
Heiko
On Wed, Nov 4, 2015 at 1:44 PM, Heiko Stuebner <heiko@xxxxxxxxx> 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@xxxxxxxxx>
> ---
> drivers/phy/phy-rockchip-usb.c | 15 +++++++++++++++
> 1 file changed, 15 insertions(+)
Reviewed-by: Douglas Anderson <dianders@xxxxxxxxxxxx>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/