ASoC: simple-card: call of_node_put() for dai_link
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Fri, 26 Aug 2016 03:05:16 +0000 (03:05 +0000)
committerMark Brown <broonie@kernel.org>
Thu, 1 Sep 2016 20:22:59 +0000 (21:22 +0100)
commita03b0545c26d88ae92cdfc662cad4364e8c627a3
tree179e2a26801126d097825aa0c97d4f56f2cf27b8
parente5668caec5698f14f310fb06bb39595b21d2fe4a
ASoC: simple-card: call of_node_put() for dai_link

We need to call of_node_put() if we used of_get_child_by_name(),
but missing it for "dai-link" loop.

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/generic/simple-card.c