Commit 9531a63
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 64b92de
("ASoC: wcd9335: fix a leaked reference by adding missing of_node_put")
Fixes: a61f3b4 ("ASoC: wcd934x: add support to wcd9340/wcd9341 codec")
Signed-off-by: Miaoqian Lin <linmq006@gmail.com>
Link: https://lore.kernel.org/r/20220316083631.14103-1-linmq006@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>1 parent c4b7174 commit 9531a63
1 file changed
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5883 | 5883 | | |
5884 | 5884 | | |
5885 | 5885 | | |
| 5886 | + | |
5886 | 5887 | | |
5887 | 5888 | | |
5888 | 5889 | | |
| |||
0 commit comments