ASoC: samsung: odroid: Fix of_node refcount unbalance
authorSylwester Nawrocki <s.nawrocki@samsung.com>
Wed, 20 Feb 2019 11:06:07 +0000 (12:06 +0100)
committerMark Brown <broonie@kernel.org>
Wed, 20 Feb 2019 16:43:16 +0000 (16:43 +0000)
commitd832d2b246c516eacb2d0ba53ec17ed59c3cd62b
tree36ffb039bedc002b015a7acafc9178701752e719
parent0b9c9ed6dd3b61b1d3ef1638786a7216006f67c5
ASoC: samsung: odroid: Fix of_node refcount unbalance

In odroid_audio_probe() some OF nodes are left without reference count
decrease after use. Fix it by ensuring required of_node_calls() are done
before exiting probe.

Reported-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/samsung/odroid.c