Skip to content
Commit 89ab396d authored by Liang He's avatar Liang He Committed by Stephen Boyd
Browse files

clk: meson: Hold reference returned by of_get_parent()



We should hold the reference returned by of_get_parent() and use it
to call of_node_put() for refcount balance.

Fixes: 88e2da81 ("clk: meson: aoclk: refactor common code into dedicated file")
Fixes: 6682bd4d ("clk: meson: factorise meson64 peripheral clock controller drivers")
Fixes: bb6eddd1 ("clk: meson: meson8b: use the HHI syscon if available")

Signed-off-by: default avatarLiang He <windhl@126.com>
Link: https://lore.kernel.org/r/20220628141038.168383-1-windhl@126.com


Reviewed-by: default avatarNeil Armstrong <narmstrong@baylibre.com>
Reviewed-by: default avatarMartin Blumenstingl <martin.blumenstingl@googlemail.com>
Signed-off-by: default avatarStephen Boyd <sboyd@kernel.org>
parent 28a0b098
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment