diff options
author | Liam Girdwood <lrg@slimlogic.co.uk> | 2011-05-31 09:22:50 +0100 |
---|---|---|
committer | Andy Green <andy.green@linaro.org> | 2011-05-31 11:03:02 +0100 |
commit | 48a586fa8c80c1dccd109f59f5fa07109838a7fb (patch) | |
tree | 1b04d2ae0fcb94ea503bd034c3614f302dd05254 /include | |
parent | 7190a0924b6b8a52386eee3def01b5b5a93290f2 (diff) |
ASoC: core: Add FE playback and capture channels config
Allow FE to specify their supported channels so DMA buffers
are allocated only when required.
Change-Id: I320cf5f5c959ee46ab18ef26a81245557413bcbc
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.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/sound/soc.h b/include/sound/soc.h index d3cbacebe3b..c5833f8d54e 100644 --- a/include/sound/soc.h +++ b/include/sound/soc.h @@ -606,6 +606,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; |