summaryrefslogtreecommitdiffstats
path: root/hw/musicpal.c
diff options
context:
space:
mode:
authorJan Kiszka2010-01-23 18:51:22 +0100
committermalc2010-01-23 19:18:41 +0100
commit642582296479eabded45f262acbfea5121d2fbf8 (patch)
tree66a667f39c3a5128f4ff3f45987cf56fd33626d9 /hw/musicpal.c
parentsparc32 fix np dereference in do_unassigned_access (diff)
downloadqemu-642582296479eabded45f262acbfea5121d2fbf8.tar.gz
qemu-642582296479eabded45f262acbfea5121d2fbf8.tar.xz
qemu-642582296479eabded45f262acbfea5121d2fbf8.zip
Musicpal: Fix wm8750 I2C address
Commit b3a219883e uncovered that we attached the Wolfson with an I2C address shifted left by one. Fixing this makes sound work again for the Musicpal. Signed-off-by: Jan Kiszka <jan.kiszka@web.de> Signed-off-by: malc <av1474@comtv.ru>
Diffstat (limited to 'hw/musicpal.c')
-rw-r--r--hw/musicpal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/musicpal.c b/hw/musicpal.c
index 4a33e28bcc..e424a7de39 100644
--- a/hw/musicpal.c
+++ b/hw/musicpal.c
@@ -67,7 +67,7 @@
#define MP_AUDIO_IRQ 30
/* Wolfson 8750 I2C address */
-#define MP_WM_ADDR 0x34
+#define MP_WM_ADDR 0x1A
/* Ethernet register offsets */
#define MP_ETH_SMIR 0x010