projects
/
linux-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
984795e
)
ASoC: audio-graph-card: Call of_node_put() on correct node
author
Stephen Gordon
<gordoste@iinet.net.au>
Sat, 7 Dec 2024 12:22:56 +0000
(23:22 +1100)
committer
Mark Brown
<broonie@kernel.org>
Tue, 10 Dec 2024 12:44:16 +0000
(12:44 +0000)
Signed-off-by: Stephen Gordon <gordoste@iinet.net.au>
Acked-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Link:
https://patch.msgid.link/20241207122257.165096-1-gordoste@iinet.net.au
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/generic/audio-graph-card2.c
patch
|
blob
|
blame
|
history
diff --git
a/sound/soc/generic/audio-graph-card2.c
b/sound/soc/generic/audio-graph-card2.c
index 5280c1b20d85e13c9a9bf1de4dda605e1d153324..1f5c4e8ff1b9007ff84731a51990ba101bffd7dc 100644
(file)
--- a/
sound/soc/generic/audio-graph-card2.c
+++ b/
sound/soc/generic/audio-graph-card2.c
@@
-771,7
+771,7
@@
static void graph_link_init(struct simple_util_priv *priv,
of_node_get(port_codec);
if (graph_lnk_is_multi(port_codec)) {
ep_codec = graph_get_next_multi_ep(&port_codec);
- of_node_put(port_c
pu
);
+ of_node_put(port_c
odec
);
port_codec = ep_to_port(ep_codec);
} else {
ep_codec = of_graph_get_next_port_endpoint(port_codec, NULL);