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)
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>

No differences found