[PATCH v2] clk: meson: Hold reference returned by of_get_parent()

Martin Blumenstingl martin.blumenstingl at googlemail.com
Wed Jun 29 07:59:22 PDT 2022


On Tue, Jun 28, 2022 at 4:12 PM Liang He <windhl at 126.com> wrote:
>
> We should hold the reference returned by of_get_parent() and use it
> to call of_node_put() for refcount balance.
>
> Fixes: 88e2da81241e ("clk: meson: aoclk: refactor common code into dedicated file")
> Fixes: 6682bd4d443f ("clk: meson: factorise meson64 peripheral clock controller drivers")
> Fixes: bb6eddd1d28c ("clk: meson: meson8b: use the HHI syscon if available")
>
> Signed-off-by: Liang He <windhl at 126.com>
Reviewed-by: Martin Blumenstingl <martin.blumenstingl at googlemail.com>

> ---
>  changelog:
>
>  v2: change the name of 'tp', change the title format, keep reverse christmas tree
>  v1: hold reference returned by of_get_parent()
Thank you for these changes in v2!



More information about the linux-amlogic mailing list