ASoC: mmp-pcm: Allocate dma filter parameters on the stack
authorLars-Peter Clausen <lars@metafoo.de>
Fri, 22 Mar 2013 13:12:11 +0000 (14:12 +0100)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Tue, 26 Mar 2013 14:17:03 +0000 (14:17 +0000)
commitac581e60dfb4cc55ac20cca18202c7689d324aa7
tree39d4a2c361d334a4891cedd673a95b1d859140dc
parent453807f3006757a5661c4000262d7d9284b5214c
ASoC: mmp-pcm: Allocate dma filter parameters on the stack

The dma filter parameters are only used within filter callback, so there is no
need to allocate them on the heap and keep them around until the PCM has been
closed.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Tested-by: Shawn Guo <shawn.guo@linaro.org>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/pxa/mmp-pcm.c