aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/brcm2708/patches-3.14/0048-ASoc-Don-t-report-S24_LE-support-it-produces-white-n.patch
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2014-09-27 19:11:37 +0000
committerFlorian Fainelli <florian@openwrt.org>2014-09-27 19:11:37 +0000
commit3f5cc1882b585db0d3aa8846cd8a2c305201e9f9 (patch)
tree5eee81e053a752327b3da279030c8ee41e5f26b4 /target/linux/brcm2708/patches-3.14/0048-ASoc-Don-t-report-S24_LE-support-it-produces-white-n.patch
parent04c0ef5263d7aa22e8895fdf24628e0c39215d12 (diff)
downloadupstream-3f5cc1882b585db0d3aa8846cd8a2c305201e9f9.tar.gz
upstream-3f5cc1882b585db0d3aa8846cd8a2c305201e9f9.tar.bz2
upstream-3f5cc1882b585db0d3aa8846cd8a2c305201e9f9.zip
brcm2708: add 3.14 support
Signed-off-by: Florian Fainelli <florian@openwrt.org> SVN-Revision: 42680
Diffstat (limited to 'target/linux/brcm2708/patches-3.14/0048-ASoc-Don-t-report-S24_LE-support-it-produces-white-n.patch')
-rw-r--r--target/linux/brcm2708/patches-3.14/0048-ASoc-Don-t-report-S24_LE-support-it-produces-white-n.patch40
1 files changed, 40 insertions, 0 deletions
diff --git a/target/linux/brcm2708/patches-3.14/0048-ASoc-Don-t-report-S24_LE-support-it-produces-white-n.patch b/target/linux/brcm2708/patches-3.14/0048-ASoc-Don-t-report-S24_LE-support-it-produces-white-n.patch
new file mode 100644
index 0000000000..694ce89e8f
--- /dev/null
+++ b/target/linux/brcm2708/patches-3.14/0048-ASoc-Don-t-report-S24_LE-support-it-produces-white-n.patch
@@ -0,0 +1,40 @@
+From ea4cb320f037ddad635159ad0d34a4e7993a252b Mon Sep 17 00:00:00 2001
+From: popcornmix <popcornmix@gmail.com>
+Date: Wed, 12 Mar 2014 11:46:34 +0000
+Subject: [PATCH 48/54] ASoc: Don't report S24_LE support, it produces white
+ noise with xbmc
+
+---
+ sound/soc/bcm/bcm2708-i2s.c | 2 +-
+ sound/soc/codecs/pcm5102a.c | 2 +-
+ 2 files changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/sound/soc/bcm/bcm2708-i2s.c b/sound/soc/bcm/bcm2708-i2s.c
+index a179216..b25e158 100644
+--- a/sound/soc/bcm/bcm2708-i2s.c
++++ b/sound/soc/bcm/bcm2708-i2s.c
+@@ -718,7 +718,7 @@ static struct snd_soc_dai_driver bcm2708_i2s_dai = {
+ .channels_max = 2,
+ .rates = SNDRV_PCM_RATE_8000_192000,
+ .formats = SNDRV_PCM_FMTBIT_S16_LE
+- | SNDRV_PCM_FMTBIT_S24_LE
++ // | SNDRV_PCM_FMTBIT_S24_LE : disable for now, it causes white noise with xbmc
+ | SNDRV_PCM_FMTBIT_S32_LE
+ },
+ .capture = {
+diff --git a/sound/soc/codecs/pcm5102a.c b/sound/soc/codecs/pcm5102a.c
+index 126f1e9..7812d34 100644
+--- a/sound/soc/codecs/pcm5102a.c
++++ b/sound/soc/codecs/pcm5102a.c
+@@ -28,7 +28,7 @@ static struct snd_soc_dai_driver pcm5102a_dai = {
+ .channels_max = 2,
+ .rates = SNDRV_PCM_RATE_8000_192000,
+ .formats = SNDRV_PCM_FMTBIT_S16_LE |
+- SNDRV_PCM_FMTBIT_S24_LE |
++ // SNDRV_PCM_FMTBIT_S24_LE | : disable for now, it causes white noise with xbmc
+ SNDRV_PCM_FMTBIT_S32_LE
+ },
+ };
+--
+1.9.1
+