ASoC: imx-es8328: Fix of_node_put() call with uninitialized object
authorTakashi Iwai <tiwai@suse.de>
Tue, 7 Oct 2014 16:19:53 +0000 (18:19 +0200)
committerMark Brown <broonie@kernel.org>
Tue, 7 Oct 2014 22:51:39 +0000 (23:51 +0100)
commit960baba41f3cfb0a97bb1f0e720334156b2eff75
tree1555916d86e92a7eb9051ce8f520260ccf3bc896
parenta5448c88b812390a3622e76d774e10c0da1fb970
ASoC: imx-es8328: Fix of_node_put() call with uninitialized object

The of_node_put() calls in imx_es8328_probe() may take uninitialized
pointers when reached though the early error path.  This patch adds
the proper NULL initialization for fixing these.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/fsl/imx-es8328.c