Skip to content

Commit 1a76f43

Browse files
committed
ASoC: audio-graph-card: Call of_node_put() on correct node
JIRA: https://issues.redhat.com/browse/RHEL-76110 commit 687630a Author: Stephen Gordon <gordoste@iinet.net.au> Date: Sat Dec 7 23:22:56 2024 +1100 ASoC: audio-graph-card: Call of_node_put() on correct node 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> Signed-off-by: Jaroslav Kysela <jkysela@redhat.com>
1 parent ca5840c commit 1a76f43

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sound/soc/generic/audio-graph-card2.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -779,7 +779,7 @@ static void graph_link_init(struct simple_util_priv *priv,
779779
of_node_get(port_codec);
780780
if (graph_lnk_is_multi(port_codec)) {
781781
ep_codec = graph_get_next_multi_ep(&port_codec);
782-
of_node_put(port_cpu);
782+
of_node_put(port_codec);
783783
port_codec = ep_to_port(ep_codec);
784784
} else {
785785
ep_codec = port_to_endpoint(port_codec);

0 commit comments

Comments
 (0)