diff options
author | Liang He <windhl@126.com> | 2022-07-13 13:20:13 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2022-07-13 15:48:56 +0300 |
commit | a8d5df69e2ec702d979f7d04ed519caf8691a032 (patch) | |
tree | f3ba58e166ea339757410d25ad0618424007f6e1 /tools/perf/scripts/python/stackcollapse.py | |
parent | 1795c16a436057f95fef5b622d808885dd772d0e (diff) | |
download | linux-a8d5df69e2ec702d979f7d04ed519caf8691a032.tar.xz |
ASoC: mt6359: Fix refcount leak bug
In mt6359_parse_dt() and mt6359_accdet_parse_dt(), we should call
of_node_put() for the reference returned by of_get_child_by_name()
which has increased the refcount.
Fixes: 683530285316 ("ASoC: mt6359: fix failed to parse DT properties")
Fixes: eef07b9e0925 ("ASoC: mediatek: mt6359: add MT6359 accdet jack driver")
Signed-off-by: Liang He <windhl@126.com>
Link: https://lore.kernel.org/r/20220713102013.367336-1-windhl@126.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions