diff options
author | Harsha Priya <priya.harsha@intel.com> | 2011-01-28 11:57:26 -0500 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2011-01-31 07:10:15 -0500 |
commit | a7bffdf7d885197857bb04919344dc17ffaf79b9 (patch) | |
tree | 6d11e07f91f02c2a432379e7c61ba0e04bc74dbc /sound/soc/mid-x86 | |
parent | fd94eeef06ed4abc08f58e42f46341d0bc4f7793 (diff) |
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[] = { | |||
73 | .rates = SNDRV_PCM_RATE_48000, | 73 | .rates = SNDRV_PCM_RATE_48000, |
74 | .formats = SNDRV_PCM_FMTBIT_S24_LE, | 74 | .formats = SNDRV_PCM_FMTBIT_S24_LE, |
75 | }, | 75 | }, |
76 | .capture = { | ||
77 | .channels_min = 1, | ||
78 | .channels_max = 5, | ||
79 | .rates = SNDRV_PCM_RATE_48000, | ||
80 | .formats = SNDRV_PCM_FMTBIT_S24_LE, | ||
81 | }, | ||
76 | }, | 82 | }, |
77 | { | 83 | { |
78 | .name = "Speaker-cpu-dai", | 84 | .name = "Speaker-cpu-dai", |