ASoC: wm9081: fix resource reclaim in wm9081_register error path
authorAxel Lin <axel.lin@gmail.com>
Fri, 23 Jul 2010 05:53:54 +0000 (05:53 +0000)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Tue, 3 Aug 2010 06:46:41 +0000 (07:46 +0100)
commit116bcd9cf22c00c22402c2a2be6ef8e81289a574
tree5fc20e23feb389da1a78ced59edd56cedf1eb6ef
parentd484366beeab0cded9644083172151c5afacc503
ASoC: wm9081: fix resource reclaim in wm9081_register error path

This patch fixes the error path in wm9081_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/wm9081.c