summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Guiriec <s-guiriec@ti.com>2012-01-25 21:18:41 +0800
committerAndy Green <andy.green@linaro.org>2012-01-25 21:18:41 +0800
commitf80608fa042e6c3944360da5acf3204900c86950 (patch)
tree86549ef8c1528a8e09e520d1834787784a7ac621
parent73e2c294444f209d281f7cd10b52b53b087e74f1 (diff)
Subject: ASoC: ABE: disable 16bits support on MM_UL path
X-Git-Tag: ti-ubuntu-3.1-1282.10~1 X-Git-Url: http://dev.omapzoom.org/?p=integration%2Fkernel-ubuntu.git;a=commitdiff_plain;h=8b5836d9539d23c4876a68e155a967a0b8a98c7e ASoC: ABE: disable 16bits support on MM_UL path 16 bits support is broken on MM_UL path, resulting in a noisy channel on stereo record. This work-around disables 16bits support (32bits remains). If required, the format conversion shall be handled by SW layers (alsa). Another alternative is to use MM_UL2 path (that properly supports 16bits). Example how to setup and test MM_UL2: amixer cset name='MUX_UL10' 11 amixer cset name='MUX_UL11' 12 arecord -v -D plughw:0,1 -d 5 -f S16_LE -c 2 -r 48000 record.wav Signed-off-by: Sebastien Jan <s-jan@ti.com>
-rw-r--r--sound/soc/omap/omap-abe.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/omap/omap-abe.c b/sound/soc/omap/omap-abe.c
index 4c9e91facb9..83e1204140b 100644
--- a/sound/soc/omap/omap-abe.c
+++ b/sound/soc/omap/omap-abe.c
@@ -1458,7 +1458,7 @@ static struct snd_soc_dai_driver omap_abe_dai[] = {
.channels_min = 2,
.channels_max = 8,
.rates = SNDRV_PCM_RATE_48000,
- .formats = OMAP_ABE_FORMATS,
+ .formats = SNDRV_PCM_FMTBIT_S32_LE,
},
.ops = &omap_abe_dai_ops,
.widgets = mm1_widgets,