From df867fa44cfb492dac8537ba3cce090404378ef4 Mon Sep 17 00:00:00 2001 From: Marcin Bukat Date: Mon, 18 Oct 2010 13:12:44 +0000 Subject: 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 --- firmware/drivers/audio/wm8751.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/firmware/drivers/audio/wm8751.c b/firmware/drivers/audio/wm8751.c index 1f2213c..06b5f61 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 -- cgit v1.1