1 From 627dc473972450148330e4c4c3c2dd43798c1c26 Mon Sep 17 00:00:00 2001
2 From: mokopatches <mokopatches@openmoko.org>
3 Date: Sun, 13 Apr 2008 07:23:59 +0100
4 Subject: [PATCH] gta02-sound-bandaid.patch
5 http://bugzilla.openmoko.org/cgi-bin/bugzilla/show_bug.cgi?id=1172
7 This patch seems to alleviate the symptoms but doesn't cure them.
8 Keep it to keep development going, until we have a proper solution.
10 sound/soc/codecs/wm8753.c | 3 +++
11 1 files changed, 3 insertions(+), 0 deletions(-)
13 diff --git a/sound/soc/codecs/wm8753.c b/sound/soc/codecs/wm8753.c
14 index 3df5b44..e9ad1aa 100644
15 --- a/sound/soc/codecs/wm8753.c
16 +++ b/sound/soc/codecs/wm8753.c
17 @@ -1585,6 +1585,9 @@ static int wm8753_init(struct snd_soc_device *socdev)
18 schedule_delayed_work(&codec->delayed_work,
19 msecs_to_jiffies(caps_charge));
21 + /* Fix reg WM8753_ADCTL2 */
22 + wm8753_write(codec, WM8753_ADCTL2, 0x0000);
24 /* set the update bits */
25 reg = wm8753_read_reg_cache(codec, WM8753_LDAC);
26 wm8753_write(codec, WM8753_LDAC, reg | 0x0100);