Re: [PATCH v2] clk: add missing of_node_put() in "assigned-clocks" property parsing

From: Stephen Boyd
Date: Wed Mar 29 2023 - 16:55:55 EST


Quoting Clément Léger (2023-01-31 00:32:27)
> When returning from of_parse_phandle_with_args(), the np member of the
> of_phandle_args structure should be put after usage. Add missing
> of_node_put() calls in both __set_clk_parents() and __set_clk_rates().
>
> Fixes: 86be408bfbd8 ("clk: Support for clock parents and rates assigned from device tree")
> Signed-off-by: Clément Léger <clement.leger@xxxxxxxxxxx>
> ---

Applied to clk-next