ASoC: ux500_pcm: Expect different saved DMA data when obtaining from DAI store
authorLee Jones <lee.jones@linaro.org>
Thu, 19 Dec 2013 15:55:03 +0000 (15:55 +0000)
committerMark Brown <broonie@linaro.org>
Tue, 7 Jan 2014 15:37:20 +0000 (15:37 +0000)
commitf6c377520c26297cc870173df3cd0acdef08bc1c
tree8c53ce0a1d50f4e6bcfd33ceb246c46286e3bd1b
parent609a3050b8a516d12cf6dc0e8beb5875ededad3d
ASoC: ux500_pcm: Expect different saved DMA data when obtaining from DAI store

In preparation for full Device Tree enablement we must differentiate
between the two varying ways DMA data can be held in the DAI store. If
we're booting with Device Tree the provided 'snd_dmaengine_dai_dma_data'
data structure shall be used, whereas in order to avoid breaking legacy
platform data we also need to be able to translate DMA data stored using
the UX500 specific 'ux500_msp_dma_params' method.

Once we move over to solely use Device Tree, we can enforce the use of
'snd_dmaengine_dai_dma_data' and this code can be removed altogether.

Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Mark Brown <broonie@linaro.org>
sound/soc/ux500/ux500_pcm.c