From 3d10a810ede3f8513c32177b9939442742ae9436 Mon Sep 17 00:00:00 2001 From: Barry Wardell Date: Thu, 31 Aug 2006 09:59:35 +0000 Subject: 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 --- firmware/drivers/wm8731l.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'firmware/drivers') 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) } else { #if defined(IRIVER_H10) || defined(IRIVER_H10_5GB) /* We need to disable bit 4 of GPIOL to disable sound on H10 */ - GPIOL_OUTPUT_VAL ^= 0x10; + GPIOL_OUTPUT_VAL &= ~0x10; #endif wmcodec_mute(1); } -- cgit v1.2.3