diff options
author | 2013-03-22 14:12:12 +0100 | |
---|---|---|
committer | 2013-03-26 14:17:31 +0000 | |
commit | 312bb4f626328fdc246c8d13082ab00e26e7d048 (patch) | |
tree | b0252427b7dcc44643f228980610cd13ccaca58a /tools/perf/scripts/python/export-to-postgresql.py | |
parent | ASoC: mmp-pcm: Allocate dma filter parameters on the stack (diff) | |
download | linux-dev-312bb4f626328fdc246c8d13082ab00e26e7d048.tar.xz linux-dev-312bb4f626328fdc246c8d13082ab00e26e7d048.zip |
ASoC: imx-pcm: Embed the imx_dma_data struct in the dma_params struct
Currently the imx_dma_data struct, which gets passed to the dmaengine driver, is
allocated and constructed in the pcm driver from the data stored in the
dma_params struct. The dma_params struct gets passed to the pcm driver from the
dai driver. Instead of going this route of indirection embed the dma_data struct
directly into the dma_params struct and let the dai driver fill it in. This
allows us to simplify the imx-pcm-dma driver quite a bit, since it doesn't have
care about memory managing the imx_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>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions