ASoC: pxa: allocate the SSP DMA parameters in startup
authorguoyh <guoyh@marvell.com>
Mon, 7 May 2012 07:34:24 +0000 (15:34 +0800)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 7 May 2012 11:55:35 +0000 (12:55 +0100)
commitd93ca1ae61adf67104a78739b793b27a7886c489
tree61fcf6336da0d5331fb4beb5d376fc7b5329b9d6
parent3cb81651d070edfbea83eef763c3ca3c6f3848fd
ASoC: pxa: allocate the SSP DMA parameters in startup

Allocating the SSP DMA parameters in startup, freeing it in
shutdown instead of freeing and re-allocating it in hw_params.
After doing that, the logic is clear and more safe.

Signed-off-by: guoyh <guoyh@marvell.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/pxa/pxa-ssp.c