[alsa-devel] [PATCH 07/19] ASoC: sst_platform: add capture capability for cpu dai driver

Lu Guanqun guanqun.lu at intel.com
Wed May 4 15:45:30 CEST 2011


From: Wang Xingchao <xingchao.wang at intel.com>

Signed-off-by: Wang Xingchao <xingchao.wang at intel.com>
---
 sound/soc/mid-x86/sst_platform.c |    6 ++++++
 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 ce0ac3c..7985cfe 100644
--- a/sound/soc/mid-x86/sst_platform.c
+++ b/sound/soc/mid-x86/sst_platform.c
@@ -123,6 +123,12 @@ struct snd_soc_dai_driver sst_platform_dai[] = {
 			    SNDRV_PCM_FMTBIT_S24 | SNDRV_PCM_FMTBIT_U24 |
 			    SNDRV_PCM_FMTBIT_S32 | SNDRV_PCM_FMTBIT_U32),
 	},
+	.capture = {
+		.channels_min = 1,
+		.channels_max = 1,
+		.rates = SNDRV_PCM_RATE_48000,
+		.formats = (SNDRV_PCM_FMTBIT_S16 | SNDRV_PCM_FMTBIT_U16),
+	},
 },
 };
 



More information about the Alsa-devel mailing list