ASoC: smdk_wm9713: fix resource leak in smdk_init error path
authorAxel Lin <axel.lin@gmail.com>
Thu, 25 Nov 2010 07:11:45 +0000 (15:11 +0800)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Thu, 25 Nov 2010 11:15:00 +0000 (11:15 +0000)
commitb26bb71f610f9b346203bff407e4278d98f9fe80
treec572628010d5a5f8e48816b70260a3da1865c22a
parent74bd21e9b301445b57bdcccdd7b5063ad3fbad0f
ASoC: smdk_wm9713: fix resource leak in smdk_init error path

Fix the error path to properly free allocated resources.

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Acked-by: Jassi Brar <jassi.brar@samsung.com>
Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/samsung/smdk_wm9713.c