ASoC: simone: fix resource leak in simone_init error path
authorAxel Lin <axel.lin@gmail.com>
Thu, 25 Nov 2010 07:12:30 +0000 (15:12 +0800)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Thu, 25 Nov 2010 11:09:30 +0000 (11:09 +0000)
commit14abca3dfc51c0a4f798183f131d63bfd6552bd4
treea5ee6e865dc407dc9dab1bcadf0b817c1cc8a1c0
parentc7a734e58ed237ecac2608a70eb31ba64e21c768
ASoC: simone: fix resource leak in simone_init error path

Fix the error path to properly free allocated resources.

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Acked-by: Mika Westerberg <mika.westerberg@iki.fi>
Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/ep93xx/simone.c