summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Arigo <markarigo@gmail.com>2008-12-12 04:59:06 +0000
committerMark Arigo <markarigo@gmail.com>2008-12-12 04:59:06 +0000
commitf2dc7139b9b5d911485f50654cef7bd42454b597 (patch)
treeb1cacf16b91011fe1ccfd05a65aad5fa983b14c3
parent08585e417b4e545752ff9478d28c4da3e8c09844 (diff)
downloadrockbox-f2dc7139b9b5d911485f50654cef7bd42454b597.tar.gz
rockbox-f2dc7139b9b5d911485f50654cef7bd42454b597.zip
Fix the sound level on the Philips HDD1630
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19396 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--firmware/drivers/audio/wm8731.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/firmware/drivers/audio/wm8731.c b/firmware/drivers/audio/wm8731.c
index 3cfd3e4b92..c065de620a 100644
--- a/firmware/drivers/audio/wm8731.c
+++ b/firmware/drivers/audio/wm8731.c
@@ -198,6 +198,9 @@ void audiohw_postinit(void)
#if defined(IRIVER_H10) || defined(IRIVER_H10_5GB)
/* We need to enable bit 4 of GPIOL for output for sound on H10 */
GPIO_SET_BITWISE(GPIOL_OUTPUT_VAL, 0x10);
+#elif defined(PHILIPS_HDD1630)
+ GPO32_ENABLE |= 0x2;
+ GPO32_VAL &= ~0x2;
#endif
}