Re: [PATCH] clk: ti: dra7-atl: fix leak of of_nodes
From: Stephen Boyd
Date: Wed Aug 28 2024 - 16:18:28 EST
Quoting David Lechner (2024-08-26 08:35:29)
> This fix leaking the of_node references in of_dra7_atl_clk_probe().
>
> The docs for of_parse_phandle_with_args() say that the caller must call
> of_node_put() on the returned node. This adds the missing of_node_put()
> to fix the leak.
>
> Fixes: 9ac33b0ce81f ("CLK: TI: Driver for DRA7 ATL (Audio Tracking Logic)")
> Signed-off-by: David Lechner <dlechner@xxxxxxxxxxxx>
> ---
Applied to clk-next