summaryrefslogtreecommitdiff
path: root/sound/soc/tegra/tegra_i2s.c
diff options
context:
space:
mode:
authorSumit Bhattacharya <sumitb@nvidia.com>2011-01-29 11:51:53 +0530
committerNiket Sirsi <nsirsi@nvidia.com>2011-02-07 18:15:11 -0800
commit36de5b7823f769116875b30f4bbef2aa8f31d747 (patch)
tree893d03a2163f369b6583da28f24400406888c4ba /sound/soc/tegra/tegra_i2s.c
parenta68d871f5b814aa935af353f130737a0a8f7510a (diff)
tegra alsa: Implement generic codec interface
Change-Id: I210dea5af60e11326ad23bafa78e937d4932e58c Reviewed-on: http://git-master/r/17564 Reviewed-by: Sachin Nikam <snikam@nvidia.com> Tested-by: Sumit Bhattacharya <sumitb@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com> Reviewed-by: Scott Peterson <speterson@nvidia.com>
Diffstat (limited to 'sound/soc/tegra/tegra_i2s.c')
-rw-r--r--sound/soc/tegra/tegra_i2s.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/sound/soc/tegra/tegra_i2s.c b/sound/soc/tegra/tegra_i2s.c
index fe65aabb6f09..6f62d2ce36ef 100644
--- a/sound/soc/tegra/tegra_i2s.c
+++ b/sound/soc/tegra/tegra_i2s.c
@@ -437,15 +437,15 @@ struct snd_soc_dai tegra_i2s_dai[] = {
.suspend = tegra_i2s_suspend,
.resume = tegra_i2s_resume,
.playback = {
- .channels_min = 2,
- .channels_max = 2,
- .rates = TEGRA_SAMPLE_RATES,
+ .channels_min = 1,
+ .channels_max = 1,
+ .rates = TEGRA_VOICE_SAMPLE_RATES,
.formats = SNDRV_PCM_FMTBIT_S16_LE,
},
.capture = {
- .channels_min = 2,
- .channels_max = 2,
- .rates = TEGRA_SAMPLE_RATES,
+ .channels_min = 1,
+ .channels_max = 1,
+ .rates = TEGRA_VOICE_SAMPLE_RATES,
.formats = SNDRV_PCM_FMTBIT_S16_LE,
},
.ops = &tegra_i2s_dai_ops,