ASoC: ux500: Store DMA data in the DAI differently in the pdata and DT case
authorLee Jones <lee.jones@linaro.org>
Thu, 19 Dec 2013 15:55:05 +0000 (15:55 +0000)
committerMark Brown <broonie@linaro.org>
Tue, 7 Jan 2014 15:37:20 +0000 (15:37 +0000)
commitf382acbe163a6faebd7cafe57800306970e241d4
tree1a13e7b4404c94800799ce101ca25c5d7fbe9ae5
parent05c56c24137273de3460872b6121a2bd762d11e8
ASoC: ux500: Store DMA data in the DAI differently in the pdata and DT case

In this patch we do two things. Firstly, instead of open coding the
store of DMA data in to the DAI for later use, we use the API provided.
Secondly we create and store similar DMA data for the DT case, only
this time we use 'struct snd_dmaengine_dai_dma_data' which is provided
by the core for this very reason.

Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Mark Brown <broonie@linaro.org>
sound/soc/ux500/ux500_msp_dai.c