diff options
author | Miaoqian Lin <[email protected]> | 2022-06-03 16:42:41 +0400 |
---|---|---|
committer | Mark Brown <[email protected]> | 2022-06-07 12:00:44 +0100 |
commit | efe2178d1a32492f99e7f1f2568eea5c88a85729 (patch) | |
tree | ff2cc188425d73cd6cd7ab47f66411a91fad38c1 /tools/perf/scripts/python/mem-phys-addr.py | |
parent | e6f08af6340eaf88e9eeff71bd4533eee9a04119 (diff) |
ASoC: mediatek: mt8173-rt5650: Fix refcount leak in mt8173_rt5650_dev_probe
of_parse_phandle() returns a node pointer with refcount
incremented, we should use of_node_put() on it when not need anymore.
Fix refcount leak in some error paths.
Fixes: 0f83f9296d5c ("ASoC: mediatek: Add machine driver for ALC5650 codec")
Signed-off-by: Miaoqian Lin <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions