diff options
author | Jyri Sarha <jsarha@ti.com> | 2013-10-18 15:37:43 (GMT) |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2013-10-22 11:03:21 (GMT) |
commit | 4023fe6ff2192d6050647571ea54f5497b2ec8f6 (patch) | |
tree | f853cf5add0ab7ce1d371aec5fc2a7156f95561b /include | |
parent | 256ba181cb2ddeef8e0a9b0540b09e0f77bf5540 (diff) | |
download | linux-4023fe6ff2192d6050647571ea54f5497b2ec8f6.tar.xz |
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')
-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 8db5ae0..689a856 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 { |