diff options
author | Harsha Priya <priya.harsha@intel.com> | 2011-01-28 22:27:26 +0530 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2011-01-31 12:10:15 +0000 |
commit | a7bffdf7d885197857bb04919344dc17ffaf79b9 (patch) | |
tree | 6d11e07f91f02c2a432379e7c61ba0e04bc74dbc /sound/soc/mid-x86 | |
parent | fd94eeef06ed4abc08f58e42f46341d0bc4f7793 (diff) | |
download | linux-stable-a7bffdf7d885197857bb04919344dc17ffaf79b9.tar.gz linux-stable-a7bffdf7d885197857bb04919344dc17ffaf79b9.tar.bz2 linux-stable-a7bffdf7d885197857bb04919344dc17ffaf79b9.zip |
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.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 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", |