diff options
author | Miaoqian Lin <linmq006@gmail.com> | 2022-06-03 15:42:41 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2022-06-07 14:00:44 +0300 |
commit | efe2178d1a32492f99e7f1f2568eea5c88a85729 (patch) | |
tree | ff2cc188425d73cd6cd7ab47f66411a91fad38c1 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | e6f08af6340eaf88e9eeff71bd4533eee9a04119 (diff) | |
download | linux-efe2178d1a32492f99e7f1f2568eea5c88a85729.tar.xz |
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 <linmq006@gmail.com>
Link: https://lore.kernel.org/r/20220603124243.31358-1-linmq006@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions