summaryrefslogtreecommitdiff
path: root/target/linux/s3c24xx/patches-2.6.24/1072-gta02-sound-bandaid.patch.patch
diff options
context:
space:
mode:
authorMirko Vogt <mirko@openwrt.org>2008-12-12 11:58:53 +0000
committerMirko Vogt <mirko@openwrt.org>2008-12-12 11:58:53 +0000
commit614683faf8029100802db06a825648d0b6490285 (patch)
tree7401b135dc7ce24ff0175e67e0f2ce7f96296ff0 /target/linux/s3c24xx/patches-2.6.24/1072-gta02-sound-bandaid.patch.patch
parent4a018d2445c5f249179ff82c8fffb0e3b717f738 (diff)
downloadmtk-20170518-614683faf8029100802db06a825648d0b6490285.zip
mtk-20170518-614683faf8029100802db06a825648d0b6490285.tar.gz
mtk-20170518-614683faf8029100802db06a825648d0b6490285.tar.bz2
changed Makefile and profiles, added patches for kernel 2.6.24 (stable-branch of Openmoko)
SVN-Revision: 13613
Diffstat (limited to 'target/linux/s3c24xx/patches-2.6.24/1072-gta02-sound-bandaid.patch.patch')
-rw-r--r--target/linux/s3c24xx/patches-2.6.24/1072-gta02-sound-bandaid.patch.patch29
1 files changed, 29 insertions, 0 deletions
diff --git a/target/linux/s3c24xx/patches-2.6.24/1072-gta02-sound-bandaid.patch.patch b/target/linux/s3c24xx/patches-2.6.24/1072-gta02-sound-bandaid.patch.patch
new file mode 100644
index 0000000..0524d13
--- /dev/null
+++ b/target/linux/s3c24xx/patches-2.6.24/1072-gta02-sound-bandaid.patch.patch
@@ -0,0 +1,29 @@
+From 627dc473972450148330e4c4c3c2dd43798c1c26 Mon Sep 17 00:00:00 2001
+From: mokopatches <mokopatches@openmoko.org>
+Date: Sun, 13 Apr 2008 07:23:59 +0100
+Subject: [PATCH] gta02-sound-bandaid.patch
+ http://bugzilla.openmoko.org/cgi-bin/bugzilla/show_bug.cgi?id=1172
+
+This patch seems to alleviate the symptoms but doesn't cure them.
+Keep it to keep development going, until we have a proper solution.
+---
+ sound/soc/codecs/wm8753.c | 3 +++
+ 1 files changed, 3 insertions(+), 0 deletions(-)
+
+diff --git a/sound/soc/codecs/wm8753.c b/sound/soc/codecs/wm8753.c
+index 3df5b44..e9ad1aa 100644
+--- a/sound/soc/codecs/wm8753.c
++++ b/sound/soc/codecs/wm8753.c
+@@ -1585,6 +1585,9 @@ static int wm8753_init(struct snd_soc_device *socdev)
+ schedule_delayed_work(&codec->delayed_work,
+ msecs_to_jiffies(caps_charge));
+
++ /* Fix reg WM8753_ADCTL2 */
++ wm8753_write(codec, WM8753_ADCTL2, 0x0000);
++
+ /* set the update bits */
+ reg = wm8753_read_reg_cache(codec, WM8753_LDAC);
+ wm8753_write(codec, WM8753_LDAC, reg | 0x0100);
+--
+1.5.6.5
+