diff options
author | Jyri Sarha <jsarha@ti.com> | 2013-10-18 18:37:43 +0300 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2013-10-22 12:03:21 +0100 |
commit | 4023fe6ff2192d6050647571ea54f5497b2ec8f6 (patch) | |
tree | f853cf5add0ab7ce1d371aec5fc2a7156f95561b /include/linux/platform_data/davinci_asp.h | |
parent | 256ba181cb2ddeef8e0a9b0540b09e0f77bf5540 (diff) | |
download | linux-stable-4023fe6ff2192d6050647571ea54f5497b2ec8f6.tar.gz linux-stable-4023fe6ff2192d6050647571ea54f5497b2ec8f6.tar.bz2 linux-stable-4023fe6ff2192d6050647571ea54f5497b2ec8f6.zip |
ASoC: davinci-mcasp: Extract DMA channels directly from DT
Extract DMA channels directly from DT as they can not be found from
platform resources anymore. This is a work-around until davinci audio
driver is updated to use dmaengine.
Signed-off-by: Jyri Sarha <jsarha@ti.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'include/linux/platform_data/davinci_asp.h')
-rw-r--r-- | include/linux/platform_data/davinci_asp.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/platform_data/davinci_asp.h b/include/linux/platform_data/davinci_asp.h index 8db5ae03b6e3..689a856b86f9 100644 --- a/include/linux/platform_data/davinci_asp.h +++ b/include/linux/platform_data/davinci_asp.h @@ -84,6 +84,8 @@ struct snd_platform_data { u8 version; u8 txnumevt; u8 rxnumevt; + int tx_dma_channel; + int rx_dma_channel; }; enum { |