ASoC: simple-card.c: add missing of_node_put()

It is missing of_node_put() for platform.
This patch fixup it.

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Link: https://lore.kernel.org/r/87ilerjcvr.wl-kuninori.morimoto.gx@renesas.com
Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
Kuninori Morimoto 2023-03-23 22:56:08 +00:00 committed by Mark Brown
parent 829d78e3ea
commit 92405802a7
No known key found for this signature in database
GPG Key ID: 24D68B725D5487D0

View File

@ -422,6 +422,7 @@ static int __simple_for_each_link(struct asoc_simple_priv *priv,
}
of_node_put(codec);
of_node_put(plat);
node = of_get_next_child(top, node);
} while (!is_top && node);