summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLiam Girdwood <lrg@ti.com>2012-01-15 13:55:37 +0000
committerAndy Green <andy.green@linaro.org>2012-01-25 21:11:25 +0800
commit9846991f3094aacbecdd5f6edfa57031c8e38f3f (patch)
tree5cc38cd5541752d82c5eb2d28e88ad26b5eaf1e4
parentc7afe034deb7888227209b48a1a3ec0f51cfefe9 (diff)
Subject: ASoC: ABE - Fix L3 abort with Pulseaudio device capabilities check
X-Git-Tag: ti-ubuntu-3.1-1282.10~4 X-Git-Url: http://dev.omapzoom.org/?p=integration%2Fkernel-ubuntu.git;a=commitdiff_plain;h=6606b5441992564bb69ac4c7a850643bd6e13bab ASoC: ABE - Fix L3 abort with Pulseaudio device capabilities check The ABE currently does not support 16bit mono on any of it's DAIs as it can only internally access data on 4 byte boundaries. Ensure that this requirement is enforced. Mono support was only required for Android (as a temporary workaround). Back ported from 3.3 HEAD. Signed-off-by: Liam Girdwood <lrg@ti.com>
-rw-r--r--sound/soc/omap/omap-abe.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/sound/soc/omap/omap-abe.c b/sound/soc/omap/omap-abe.c
index 83e1204140b..a30d2787d5b 100644
--- a/sound/soc/omap/omap-abe.c
+++ b/sound/soc/omap/omap-abe.c
@@ -1448,7 +1448,7 @@ static struct snd_soc_dai_driver omap_abe_dai[] = {
.resume = omap_abe_dai_resume,
.playback = {
.stream_name = "MultiMedia1 Playback",
- .channels_min = 1,
+ .channels_min = 2,
.channels_max = 2,
.rates = SNDRV_PCM_RATE_48000 | SNDRV_PCM_RATE_44100,
.formats = OMAP_ABE_FORMATS,
@@ -1470,7 +1470,7 @@ static struct snd_soc_dai_driver omap_abe_dai[] = {
.resume = omap_abe_dai_resume,
.capture = {
.stream_name = "MultiMedia2 Capture",
- .channels_min = 1,
+ .channels_min = 2,
.channels_max = 2,
.rates = SNDRV_PCM_RATE_48000,
.formats = OMAP_ABE_FORMATS,
@@ -1485,14 +1485,14 @@ static struct snd_soc_dai_driver omap_abe_dai[] = {
.resume = omap_abe_dai_resume,
.playback = {
.stream_name = "Voice Playback",
- .channels_min = 1,
+ .channels_min = 2,
.channels_max = 2,
.rates = SNDRV_PCM_RATE_8000 | SNDRV_PCM_RATE_16000,
.formats = OMAP_ABE_FORMATS,
},
.capture = {
.stream_name = "Voice Capture",
- .channels_min = 1,
+ .channels_min = 2,
.channels_max = 2,
.rates = SNDRV_PCM_RATE_8000 | SNDRV_PCM_RATE_16000,
.formats = OMAP_ABE_FORMATS,
@@ -1507,7 +1507,7 @@ static struct snd_soc_dai_driver omap_abe_dai[] = {
.resume = omap_abe_dai_resume,
.playback = {
.stream_name = "Tones Playback",
- .channels_min = 1,
+ .channels_min = 2,
.channels_max = 2,
.rates = SNDRV_PCM_RATE_48000 | SNDRV_PCM_RATE_44100,
.formats = OMAP_ABE_FORMATS,