summaryrefslogtreecommitdiffstats
path: root/firmware
diff options
context:
space:
mode:
authorChristian Gmeiner <christian.gmeiner@gmail.com>2007-06-13 06:49:37 +0000
committerChristian Gmeiner <christian.gmeiner@gmail.com>2007-06-13 06:49:37 +0000
commitf50bd1151a65b1aeefaeab545187fba29881b800 (patch)
tree74c941972d2e370c024e481d3aa0886936966c77 /firmware
parentff67c1267c5f1be89a7df6aab44a142c8824e05b (diff)
downloadrockbox-f50bd1151a65b1aeefaeab545187fba29881b800.tar.gz
rockbox-f50bd1151a65b1aeefaeab545187fba29881b800.zip
now back to green
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13624 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware')
-rw-r--r--firmware/target/arm/s3c2440/gigabeat-fx/wmcodec-meg-fx.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/firmware/target/arm/s3c2440/gigabeat-fx/wmcodec-meg-fx.c b/firmware/target/arm/s3c2440/gigabeat-fx/wmcodec-meg-fx.c
index be23fa1783..0696b7aa0c 100644
--- a/firmware/target/arm/s3c2440/gigabeat-fx/wmcodec-meg-fx.c
+++ b/firmware/target/arm/s3c2440/gigabeat-fx/wmcodec-meg-fx.c
@@ -29,19 +29,17 @@
#include "i2c.h"
#include "i2c-meg-fx.h"
-int audiohw_init(void)
+void audiohw_init(void)
{
/* reset I2C */
i2c_init();
-
+
/* GPC5 controls headphone output */
GPCCON &= ~(0x3 << 10);
GPCCON |= (1 << 10);
GPCDAT |= (1 << 5);
audiohw_preinit();
-
- return 0;
}
void wmcodec_write(int reg, int data)