ASoC: fix a memory-leak in wm8903
authorGuennadi Liakhovetski <g.liakhovetski@gmx.de>
Fri, 22 Jan 2010 17:00:03 +0000 (18:00 +0100)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 25 Jan 2010 14:41:05 +0000 (14:41 +0000)
commit40aa7030e5213a43e9e0554fd7f95534ea310bf3
treeefb59c0ce9d22010f374aeeb78fe209f62580fe4
parent92dcffb916d309aa01778bf8963a6932e4014d07
ASoC: fix a memory-leak in wm8903

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>
Cc: stable@kernel.org
sound/soc/codecs/wm8903.c