summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHarsha Priya <priya.harsha@intel.com>2011-01-28 19:57:26 +0300
committerMark Brown <broonie@opensource.wolfsonmicro.com>2011-01-31 15:10:15 +0300
commita7bffdf7d885197857bb04919344dc17ffaf79b9 (patch)
tree6d11e07f91f02c2a432379e7c61ba0e04bc74dbc
parentfd94eeef06ed4abc08f58e42f46341d0bc4f7793 (diff)
downloadlinux-a7bffdf7d885197857bb04919344dc17ffaf79b9.tar.xz
ASoC: sst_platform: add support for capture stream on headset dai
Signed-off-by: Vinod Koul <vinod.koul@intel.com> Signed-off-by: Harsha Priya <priya.harsha@intel.com> Acked-by: Liam Girdwood <lrg@slimlogic.co.uk> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
-rw-r--r--sound/soc/mid-x86/sst_platform.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/sound/soc/mid-x86/sst_platform.c b/sound/soc/mid-x86/sst_platform.c
index 1d1f5447b338..96e6e9c9c5f4 100644
--- a/sound/soc/mid-x86/sst_platform.c
+++ b/sound/soc/mid-x86/sst_platform.c
@@ -73,6 +73,12 @@ struct snd_soc_dai_driver sst_platform_dai[] = {
.rates = SNDRV_PCM_RATE_48000,
.formats = SNDRV_PCM_FMTBIT_S24_LE,
},
+ .capture = {
+ .channels_min = 1,
+ .channels_max = 5,
+ .rates = SNDRV_PCM_RATE_48000,
+ .formats = SNDRV_PCM_FMTBIT_S24_LE,
+ },
},
{
.name = "Speaker-cpu-dai",