summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorLiam Girdwood <lrg@slimlogic.co.uk>2010-08-23 21:24:21 +0100
committerRicardo Perez Olivares <x0081762@ti.com>2010-09-14 19:27:54 -0500
commit786acf635458b4b3dc74b70d35d57089e49dc36f (patch)
tree72b8fa5842958cf067ce3ce5a59bb0ae7a122683 /include
parent2cccfdf1036cfb18102b6971e68e4be3769ec67f (diff)
ASoC: core - add FE playback and capture channels config
Allow FE to specify their supported channels so we dont do things like allocate DMA buffers when not required. Signed-off-by: Liam Girdwood <lrg@slimlogic.co.uk> Signed-off-by: Margarita Olaya Cabrera <magi.olaya@ti.com>
Diffstat (limited to 'include')
-rw-r--r--include/sound/soc.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/sound/soc.h b/include/sound/soc.h
index 6257dd2e9b21..0e5f46edc864 100644
--- a/include/sound/soc.h
+++ b/include/sound/soc.h
@@ -577,6 +577,9 @@ struct snd_soc_dai_link {
/* supported BE */
const char **supported_be;
int num_be;
+ int fe_playback_channels;
+ int fe_capture_channels;
+
/* Keep DAI active over suspend */
unsigned int ignore_suspend:1;