Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ad3a0569 authored by Liang He's avatar Liang He Committed by Greg Kroah-Hartman
Browse files

clk: meson: Hold reference returned by of_get_parent()



[ Upstream commit 89ab396d712f7c91fe94f55cff23460426f5fc81 ]

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>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 633c574e
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