ASoC: fix a memory-leak in wm8903
commit09e4d0f1f69726615a2c9c5246410ec72b60b09f
authorGuennadi Liakhovetski <g.liakhovetski@gmx.de>
Fri, 22 Jan 2010 17:00:03 +0000 (22 18:00 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 28 Jan 2010 23:02:35 +0000 (28 15:02 -0800)
treee524170638a0e7a271a3ab6c1c69b74523ebcc50
parent2cdc2dc3bdf8948ddf5a11d2907ac9d98d1c2794
ASoC: fix a memory-leak in wm8903

commit 40aa7030e5213a43e9e0554fd7f95534ea310bf3 upstream.

Remember to free the temporary register-cache.

Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
sound/soc/codecs/wm8903.c