From: Kuninori Morimoto Date: Thu, 23 Mar 2023 22:56:08 +0000 (+0000) Subject: ASoC: simple-card.c: add missing of_node_put() X-Git-Tag: v6.4-rc1~125^2^2~91 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=92405802a7d6aa1953915af869192296d1792d18;p=thirdparty%2Fkernel%2Flinux.git 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 Link: https://lore.kernel.org/r/87ilerjcvr.wl-kuninori.morimoto.gx@renesas.com Signed-off-by: Mark Brown --- diff --git a/sound/soc/generic/simple-card.c b/sound/soc/generic/simple-card.c index fcd6c44f89f65..6f044cc8357ea 100644 --- a/sound/soc/generic/simple-card.c +++ b/sound/soc/generic/simple-card.c @@ -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);