diff options
Diffstat (limited to 'firmware')
-rw-r--r-- | firmware/target/arm/s3c2440/gigabeat-fx/wmcodec-meg-fx.c | 6 |
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 @@ | |||
29 | #include "i2c.h" | 29 | #include "i2c.h" |
30 | #include "i2c-meg-fx.h" | 30 | #include "i2c-meg-fx.h" |
31 | 31 | ||
32 | int audiohw_init(void) | 32 | void audiohw_init(void) |
33 | { | 33 | { |
34 | /* reset I2C */ | 34 | /* reset I2C */ |
35 | i2c_init(); | 35 | i2c_init(); |
36 | 36 | ||
37 | /* GPC5 controls headphone output */ | 37 | /* GPC5 controls headphone output */ |
38 | GPCCON &= ~(0x3 << 10); | 38 | GPCCON &= ~(0x3 << 10); |
39 | GPCCON |= (1 << 10); | 39 | GPCCON |= (1 << 10); |
40 | GPCDAT |= (1 << 5); | 40 | GPCDAT |= (1 << 5); |
41 | 41 | ||
42 | audiohw_preinit(); | 42 | audiohw_preinit(); |
43 | |||
44 | return 0; | ||
45 | } | 43 | } |
46 | 44 | ||
47 | void wmcodec_write(int reg, int data) | 45 | void wmcodec_write(int reg, int data) |