alistair23-linux/sound/soc/mxs
Lars-Peter Clausen b7e5e91210 ASoC: mxs: Embed the mxs_dma_data struct in the mxs_pcm_dma_params struct
Currently the mxs_dma_data struct, which gets passed to the dmaengine driver, is
allocated in the pcm driver's open callback. The mxs_dma_data struct has exactly
one field which is initialized from the the same field in the mxs_pcm_dma_params
struct. The mxs_pcm_dma_params struct gets passed to the pcm driver from the dai
driver. Instead of taking this indirection embed the mxs_dma_data struct
directly in the mxs_pcm_dma_params struct. This allows us to simplify the pcm
driver quite a bit, since we don't have to care about memory managing the
mxs_dma_data struct anymore.

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>
2013-03-26 14:17:41 +00:00
..
Kconfig ASoC: mxs: Fix the name of the SoC family 2012-08-08 12:15:10 +01:00
Makefile
mxs-pcm.c ASoC: mxs: Embed the mxs_dma_data struct in the mxs_pcm_dma_params struct 2013-03-26 14:17:41 +00:00
mxs-pcm.h ASoC: mxs: Embed the mxs_dma_data struct in the mxs_pcm_dma_params struct 2013-03-26 14:17:41 +00:00
mxs-saif.c ASoC: mxs: Embed the mxs_dma_data struct in the mxs_pcm_dma_params struct 2013-03-26 14:17:41 +00:00
mxs-saif.h
mxs-sgtl5000.c ASoC: mxs: remove __dev* attributes 2012-12-10 00:31:26 +09:00