projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
829d78e
)
ASoC: simple-card.c: add missing of_node_put()
author
Kuninori Morimoto
<kuninori.morimoto.gx@renesas.com>
Thu, 23 Mar 2023 22:56:08 +0000
(22:56 +0000)
committer
Mark Brown
<broonie@kernel.org>
Fri, 24 Mar 2023 12:15:23 +0000
(12:15 +0000)
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>
sound/soc/generic/simple-card.c
patch
|
blob
|
history
diff --git
a/sound/soc/generic/simple-card.c
b/sound/soc/generic/simple-card.c
index
fcd6c44
..
6f044cc
100644
(file)
--- 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);