ASoC: imx-ssi: fix resource leak
authorAxel Lin <axel.lin@gmail.com>
Thu, 25 Nov 2010 07:13:09 +0000 (15:13 +0800)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Thu, 25 Nov 2010 11:09:50 +0000 (11:09 +0000)
commitac8f924af555573e29b126ac5cef4fdd122ae517
tree0861be93839ee3f84bde6ee349daa63413dd4f32
parent14abca3dfc51c0a4f798183f131d63bfd6552bd4
ASoC: imx-ssi: fix resource leak

Fix imx_ssi_probe() error path and imx_ssi_remove() to properly free
allocated resources.

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Acked-by: Sascha Hauer <s.hauer@pengutronix.de>
Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/imx/imx-ssi.c