From: Harsha Priya Date: Fri, 28 Jan 2011 16:57:26 +0000 (+0530) Subject: ASoC: sst_platform: add support for capture stream on headset dai X-Git-Tag: MMI-PSA29.97-13-9~16612^2~1226^2~24 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=a7bffdf7d885197857bb04919344dc17ffaf79b9;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git ASoC: sst_platform: add support for capture stream on headset dai Signed-off-by: Vinod Koul Signed-off-by: Harsha Priya Acked-by: Liam Girdwood Signed-off-by: Mark Brown --- 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",