diff mbox series

[v3] ASoC: audio-graph-card: Call of_node_put() on correct node

Message ID 20241210033648.4872-1-gordoste@iinet.net.au (mailing list archive)
State Accepted
Commit 687630aa582acf674120c87350beb01d836c837c
Headers show
Series [v3] ASoC: audio-graph-card: Call of_node_put() on correct node | expand

Commit Message

Stephen Gordon Dec. 10, 2024, 3:36 a.m. UTC
A small obvious fix.

Signed-off-by: Stephen Gordon <gordoste@iinet.net.au>
---

V3: Fix git log message
V2: Fix patch title

 sound/soc/generic/audio-graph-card2.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Kuninori Morimoto Dec. 11, 2024, 12:37 a.m. UTC | #1
Hi

> A small obvious fix.
> 
> Signed-off-by: Stephen Gordon <gordoste@iinet.net.au>
> ---

Acked-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>

Thank you for your help !!

Best regards
---
Kuninori Morimoto
Mark Brown Dec. 11, 2024, 8:38 p.m. UTC | #2
On Tue, 10 Dec 2024 14:36:47 +1100, Stephen Gordon wrote:
> A small obvious fix.
> 
> 

Applied to

   https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next

Thanks!

[1/1] ASoC: audio-graph-card: Call of_node_put() on correct node
      commit: 687630aa582acf674120c87350beb01d836c837c

All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.

You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying
to this mail.

Thanks,
Mark
diff mbox series

Patch

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);