From dc4f3dc3fb8b06195873aa55a4b7b6b41d19eddd Mon Sep 17 00:00:00 2001 From: mokopatches Date: Wed, 19 Nov 2008 17:03:23 +0000 Subject: 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 file changed, 3 insertions(+) diff --git a/sound/soc/codecs/wm8753.c b/sound/soc/codecs/wm8753.c index d426eaa2218..166f9eba8d2 100644 --- a/sound/soc/codecs/wm8753.c +++ b/sound/soc/codecs/wm8753.c @@ -1584,6 +1584,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); -- cgit v1.2.3