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)
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>

No differences found