ASoC: wm8955: fix resource reclaim in wm8955_register error path
authorAxel Lin <axel.lin@gmail.com>
Fri, 23 Jul 2010 05:53:50 +0000 (05:53 +0000)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Tue, 3 Aug 2010 06:45:37 +0000 (07:45 +0100)
commit8089a49d99bb25bc63237ae8e90a84c72897b66d
tree8a5c8ee50c1b2dceb839c221096adb8a4c4a9116
parentdb1e18de98c8bdf8a2bfc07623ff67621aa4a332
ASoC: wm8955: fix resource reclaim in wm8955_register error path

This patch fixes the error path in wm8955_register to properly free resources.

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/codecs/wm8955.c