浏览代码

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>
Harsha Priya 14 年之前
父节点
当前提交
a7bffdf7d8
共有 1 个文件被更改,包括 6 次插入0 次删除
  1. 6 0
      sound/soc/mid-x86/sst_platform.c

+ 6 - 0
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",