ASoC: sst_platform: add support for capture stream on headset dai
authorHarsha Priya <priya.harsha@intel.com>
Fri, 28 Jan 2011 16:57:26 +0000 (22:27 +0530)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 31 Jan 2011 12:10:15 +0000 (12:10 +0000)
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>
sound/soc/mid-x86/sst_platform.c

index 1d1f544..96e6e9c 100644 (file)
@@ -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",