]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: simple-card: Fix missing of_node_put() at simple_dai_link_of()
authorTakashi Iwai <tiwai@suse.de>
Tue, 19 Feb 2019 15:46:48 +0000 (16:46 +0100)
committerMark Brown <broonie@kernel.org>
Wed, 20 Feb 2019 12:12:33 +0000 (12:12 +0000)
commit9574c8d68e71d9255136b0ed9d474f76913b61dd
tree3aa38f33ba94520402e6edb9517138a8ae5adff4
parent8a4e4e57e6fc7096733cb409173043bd2857e74c
ASoC: simple-card: Fix missing of_node_put() at simple_dai_link_of()

We forgot to unreference the platform node object obtained from
of_get_child_by_name().  This leads to the unbalance of node
refcount.

Fixes: 7010c07233ac ("ASoC: simple-card: support platform in dts parse")
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Acked-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/generic/simple-card.c