diff options
author | Miaoqian Lin <[email protected]> | 2022-03-16 08:36:31 +0000 |
---|---|---|
committer | Mark Brown <[email protected]> | 2022-03-16 16:39:26 +0000 |
commit | 9531a631379169d57756b2411178c6238655df88 (patch) | |
tree | d19bf54622e2dd956180eec2e3ad4944669952a8 /tools/perf/scripts/python/stat-cpi.py | |
parent | c4b7174fe5bb875a09a78674a14a1589d1a672f3 (diff) |
ASoC: codecs: wcd934x: Add missing of_node_put() in wcd934x_codec_parse_data
The device_node pointer is returned by of_parse_phandle() with refcount
incremented. We should use of_node_put() on it when done.
This is similar to commit 64b92de9603f
("ASoC: wcd9335: fix a leaked reference by adding missing of_node_put")
Fixes: a61f3b4f476e ("ASoC: wcd934x: add support to wcd9340/wcd9341 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/stat-cpi.py')
0 files changed, 0 insertions, 0 deletions