summaryrefslogtreecommitdiffstats
path: root/firmware
diff options
context:
space:
mode:
authorMarcin Bukat <marcin.bukat@gmail.com>2010-10-18 13:12:44 +0000
committerMarcin Bukat <marcin.bukat@gmail.com>2010-10-18 13:12:44 +0000
commitdf867fa44cfb492dac8537ba3cce090404378ef4 (patch)
treeb14a056b10e84cb73145a5922bb06db468ab7d0c /firmware
parent59cc0a9a1479b76a8e0ebd4f9f9298fb7b70a268 (diff)
downloadrockbox-df867fa44cfb492dac8537ba3cce090404378ef4.tar.gz
rockbox-df867fa44cfb492dac8537ba3cce090404378ef4.tar.bz2
rockbox-df867fa44cfb492dac8537ba3cce090404378ef4.zip
MPIO HD200 - fix stupid typo introduced in r28270 which forced device hard shutdown during boot.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28304 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware')
-rw-r--r--firmware/drivers/audio/wm8751.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/drivers/audio/wm8751.c b/firmware/drivers/audio/wm8751.c
index 1f2213c9a3..06b5f61bd3 100644
--- a/firmware/drivers/audio/wm8751.c
+++ b/firmware/drivers/audio/wm8751.c
@@ -194,7 +194,7 @@ void audiohw_preinit(void)
/* control headphone output
* disabled on startup
*/
- and_l((1<<25),&GPIO1_OUT);
+ and_l(~(1<<25),&GPIO1_OUT);
or_l((1<<25), &GPIO1_ENABLE);
or_l((1<<25), &GPIO1_FUNCTION);
#endif