ASoC: rsnd: call of_node_put() when break
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Wed, 9 Aug 2023 01:07:45 +0000 (01:07 +0000)
committerMark Brown <broonie@kernel.org>
Wed, 9 Aug 2023 11:52:35 +0000 (12:52 +0100)
commit1a5ca2aad7b907f9d7101eaba7dfa068b2da3bdd
tree8485ca9c35a37fa53ed5b29f4238cb76c5361b1d
parenta932f45a1832d18fb64704636a958ef993a1d1da
ASoC: rsnd: call of_node_put() when break

We need to call of_node_put() when break from
for_each_child_of_node(). This patch add missing
of_node_put().

Reported-by: kernel test robot <lkp@intel.com>
Reported-by: Julia Lawall <julia.lawall@inria.fr>
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Link: https://lore.kernel.org/r/87bkfh9g68.wl-kuninori.morimoto.gx@renesas.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sh/rcar/core.c