ASoC: wm8961: fix resource reclaim in wm8961_register error path
authorAxel Lin <axel.lin@gmail.com>
Fri, 23 Jul 2010 05:53:51 +0000 (05:53 +0000)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Tue, 3 Aug 2010 06:45:52 +0000 (07:45 +0100)
commit6b5d071e8ba7d802f3123e7b7a37ea13650a98bf
tree2b0465ecb42757f5d2dee265b47bb3917451103a
parent8089a49d99bb25bc63237ae8e90a84c72897b66d
ASoC: wm8961: fix resource reclaim in wm8961_register error path

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