aboutsummaryrefslogtreecommitdiff
path: root/hw/musicpal.c
diff options
context:
space:
mode:
authorJan Kiszka <jan.kiszka@web.de>2010-01-23 18:51:22 +0100
committerAnthony Liguori <aliguori@us.ibm.com>2010-01-26 16:20:12 -0600
commit0c709e6195468e97f1e042bb4c5ef2b5c8661d04 (patch)
tree96f5e4d0cda996c1583df11ff59ac7e18e97a848 /hw/musicpal.c
parentdc88aa49b4af7a75ae448fe4c57248c2f1d6eb09 (diff)
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> (cherry picked from commit 642582296479eabded45f262acbfea5121d2fbf8) Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
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