Search
SailfishOS Open Build Service
>
Projects
>
home:ballock
:
archosG9
>
kernel-adaptation-archos-gen9-mmc
> sound-l3-abort-fix.patch
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File sound-l3-abort-fix.patch of Package kernel-adaptation-archos-gen9-mmc
From: Liam Girdwood <lrg@ti.com> Date: Sun, 15 Jan 2012 13:55:37 +0000 (+0000) 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> --- diff --git a/sound/soc/omap/omap-abe.c b/sound/soc/omap/omap-abe.c index 4c9e91f..0f32f05 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,