ASoC: pxa-ssp: fix a memory leak in pxa_ssp_remove()
authorAxel Lin <axel.lin@gmail.com>
Wed, 25 Aug 2010 08:59:11 +0000 (16:59 +0800)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 25 Aug 2010 13:20:15 +0000 (14:20 +0100)
commit014a27553a804c24a213d11aee30470b0a83f341
treeb5b5f5eed32161771953c0ac0e17c737c7c83d51
parentd89ccac5a242a6547bcb8073f1ff65bdfa042266
ASoC: pxa-ssp: fix a memory leak in pxa_ssp_remove()

The "priv" allocated in pxa_ssp_probe() should be kfreed in pxa_ssp_remove().

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/pxa/pxa-ssp.c