diff options
author | Liang He <windhl@126.com> | 2022-06-28 22:10:38 +0800 |
---|---|---|
committer | Stephen Boyd <sboyd@kernel.org> | 2022-08-19 14:29:00 -0700 |
commit | 89ab396d712f7c91fe94f55cff23460426f5fc81 (patch) | |
tree | 4a80ebdde489e762e2e09532588c27e044aeda93 /drivers/clk/st | |
parent | 28a0b0984e76df8fd64b6850fa56cf5201e6e638 (diff) |
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: 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@126.com>
Link: https://lore.kernel.org/r/20220628141038.168383-1-windhl@126.com
Reviewed-by: Neil Armstrong <narmstrong@baylibre.com>
Reviewed-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Diffstat (limited to 'drivers/clk/st')
0 files changed, 0 insertions, 0 deletions