aboutsummaryrefslogtreecommitdiff
path: root/sound
diff options
context:
space:
mode:
authormokopatches <mokopatches@openmoko.org>2008-11-19 17:03:23 +0000
committerwarmcat <andy@warmcat.com>2008-11-19 17:03:23 +0000
commitdc4f3dc3fb8b06195873aa55a4b7b6b41d19eddd (patch)
tree688ff74f44f9bfad165fb3d941523e591a55d523 /sound
parentfc1ca50030fea21a5cb1e40b49f9eb3e52fbb452 (diff)
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.
Diffstat (limited to 'sound')
-rw-r--r--sound/soc/codecs/wm8753.c3
1 files changed, 3 insertions, 0 deletions
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);