]> 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)
commit91c7fc49e6bab149fea712898c2bca8eeeaaf788
tree61fcf6336da0d5331fb4beb5d376fc7b5329b9d6
parented6b13419155f2034df16725317fba1aba82d134
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