summaryrefslogtreecommitdiffstats
path: root/sound/soc/mid-x86
diff options
context:
space:
mode:
authorHarsha Priya <priya.harsha@intel.com>2011-01-28 22:27:26 +0530
committerMark Brown <broonie@opensource.wolfsonmicro.com>2011-01-31 12:10:15 +0000
commita7bffdf7d885197857bb04919344dc17ffaf79b9 (patch)
tree6d11e07f91f02c2a432379e7c61ba0e04bc74dbc /sound/soc/mid-x86
parentfd94eeef06ed4abc08f58e42f46341d0bc4f7793 (diff)
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>
Diffstat (limited to 'sound/soc/mid-x86')
-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 1d1f5447b33..96e6e9c9c5f 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",