diff options
author | Miaoqian Lin <[email protected]> | 2022-05-23 18:26:08 +0400 |
---|---|---|
committer | Stephen Boyd <[email protected]> | 2022-08-22 19:05:02 -0700 |
commit | 56c78cb1f00a9dde8cd762131ce8f4c5eb046fbb (patch) | |
tree | 5a24d6e637d5bb7ba6c43fa74e9c80c125b2123e /tools/perf/scripts/python/syscall-counts.py | |
parent | 91e6455bf715fb1558a0bf8f645ec1c131254a3c (diff) |
clk: tegra: Fix refcount leak in tegra210_clock_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: 6b301a059eb2 ("clk: tegra: Add support for Tegra210 clocks")
Signed-off-by: Miaoqian Lin <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Stephen Boyd <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions