summaryrefslogtreecommitdiff
path: root/firmware/drivers/wm8731l.c
diff options
context:
space:
mode:
authorBarry Wardell <rockbox@barrywardell.net>2006-08-31 09:59:35 +0000
committerBarry Wardell <rockbox@barrywardell.net>2006-08-31 09:59:35 +0000
commit3d10a810ede3f8513c32177b9939442742ae9436 (patch)
tree30872bca52e95611c8dead37710bbe6cb59bc52a /firmware/drivers/wm8731l.c
parent9bc2fa97d0034a3c25cf52c7a1f417a4c6378536 (diff)
downloadrockbox-3d10a810ede3f8513c32177b9939442742ae9436.tar.gz
rockbox-3d10a810ede3f8513c32177b9939442742ae9436.zip
H10 changes: power_off() now actually powers off. Fix wrong bitwise operation when disabling sound. Fix filenames when building a bootloader.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10822 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/drivers/wm8731l.c')
-rw-r--r--firmware/drivers/wm8731l.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/drivers/wm8731l.c b/firmware/drivers/wm8731l.c
index f73de68b97..71ccfdb4f6 100644
--- a/firmware/drivers/wm8731l.c
+++ b/firmware/drivers/wm8731l.c
@@ -227,7 +227,7 @@ void wmcodec_enable_output(bool enable)
227 } else { 227 } else {
228#if defined(IRIVER_H10) || defined(IRIVER_H10_5GB) 228#if defined(IRIVER_H10) || defined(IRIVER_H10_5GB)
229 /* We need to disable bit 4 of GPIOL to disable sound on H10 */ 229 /* We need to disable bit 4 of GPIOL to disable sound on H10 */
230 GPIOL_OUTPUT_VAL ^= 0x10; 230 GPIOL_OUTPUT_VAL &= ~0x10;
231#endif 231#endif
232 wmcodec_mute(1); 232 wmcodec_mute(1);
233 } 233 }