From: Lars-Peter Clausen Date: Fri, 22 Mar 2013 13:12:12 +0000 (+0100) Subject: ASoC: imx-pcm: Embed the imx_dma_data struct in the dma_params struct X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~52^2~42^2~17^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=312bb4f626328fdc246c8d13082ab00e26e7d048;p=pandora-kernel.git 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 Tested-by: Shawn Guo Signed-off-by: Mark Brown --- Reading git-diff-tree failed