]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc322a53eca63811b3c26c1a24fc07f5671129e13
tree61fcf6336da0d5331fb4beb5d376fc7b5329b9d6
parent9ee8f23009386e0b6ad73dee4994b7d5837ea3a1
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