aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/platform_data
diff options
context:
space:
mode:
authorJyri Sarha <jsarha@ti.com>2013-10-18 18:37:43 +0300
committerMark Brown <broonie@linaro.org>2013-10-22 12:03:21 +0100
commit4023fe6ff2192d6050647571ea54f5497b2ec8f6 (patch)
treef853cf5add0ab7ce1d371aec5fc2a7156f95561b /include/linux/platform_data
parentASoC: davinci-mcasp: Add location for data port registers to DT (diff)
downloadlinux-dev-4023fe6ff2192d6050647571ea54f5497b2ec8f6.tar.xz
linux-dev-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')
-rw-r--r--include/linux/platform_data/davinci_asp.h2
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 {