diff options
author | 2022-05-24 10:57:29 +0400 | |
---|---|---|
committer | 2022-05-25 09:19:01 +0200 | |
commit | a2106f38077e78afcb4bf98fdda3e162118cfb3d (patch) | |
tree | bddbefda145058b95ab3ec8774ca5e39846aa5b8 /tools/perf/scripts/python | |
parent | soc: s4: Add support for power domains controller (diff) | |
download | linux-dev-a2106f38077e78afcb4bf98fdda3e162118cfb3d.tar.xz linux-dev-a2106f38077e78afcb4bf98fdda3e162118cfb3d.zip |
meson-mx-socinfo: Fix refcount leak in meson_mx_socinfo_init
of_find_matching_node() returns a node pointer with refcount
incremented, we should use of_node_put() on it when not need anymore.
Add missing of_node_put() to avoid refcount leak.
Fixes: 5e68c0fc8df8 ("soc: amlogic: Add Meson6/Meson8/Meson8b/Meson8m2 SoC Information driver")
Signed-off-by: Miaoqian Lin <linmq006@gmail.com>
Reviewed-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
Link: https://lore.kernel.org/r/20220524065729.33689-1-linmq006@gmail.com
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions