Message ID | 20241207033912.68475-1-gordoste@iinet.net.au (mailing list archive) |
---|---|
State | Accepted |
Commit | 687630aa582acf674120c87350beb01d836c837c |
Headers | show |
Series | Decrement refcount on correct pointer | expand |
diff --git a/sound/soc/generic/audio-graph-card2.c b/sound/soc/generic/audio-graph-card2.c index 5280c1b20..1f5c4e8ff 100644 --- 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_cpu); + of_node_put(port_codec); port_codec = ep_to_port(ep_codec); } else { ep_codec = of_graph_get_next_port_endpoint(port_codec, NULL);
Signed-off-by: Stephen Gordon <gordoste@iinet.net.au> --- sound/soc/generic/audio-graph-card2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)