diff options
author | Michael Sevakis <jethead71@rockbox.org> | 2008-03-12 10:03:52 +0000 |
---|---|---|
committer | Michael Sevakis <jethead71@rockbox.org> | 2008-03-12 10:03:52 +0000 |
commit | 06a5299aff38ba25c7742ae6293c588e38445f8b (patch) | |
tree | 5f8c3121882ba9c8d6317d1ce7fb5a07d3a99f5c /firmware/target/arm/wmcodec-pp.c | |
parent | 2f5a37de5c45333453169ffe0b90e0f380d1cd50 (diff) | |
download | rockbox-06a5299aff38ba25c7742ae6293c588e38445f8b.tar.gz rockbox-06a5299aff38ba25c7742ae6293c588e38445f8b.zip |
Do some crackdown on kernel object reinitialization after they could be in use and use before initialization. For c200/e200: Be sure fat cache and ata locks are acquired in the proper order during hot swapping. Delay hotswap monitoring until after initial file mounting (address 2nd kobj concern + possible call of fat driver before init).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16636 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target/arm/wmcodec-pp.c')
-rw-r--r-- | firmware/target/arm/wmcodec-pp.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/firmware/target/arm/wmcodec-pp.c b/firmware/target/arm/wmcodec-pp.c index 3bd9d7fd2b..cfdd311c52 100644 --- a/firmware/target/arm/wmcodec-pp.c +++ b/firmware/target/arm/wmcodec-pp.c | |||
@@ -41,9 +41,6 @@ | |||
41 | * Initialise the PP I2C and I2S. | 41 | * Initialise the PP I2C and I2S. |
42 | */ | 42 | */ |
43 | void audiohw_init(void) { | 43 | void audiohw_init(void) { |
44 | /* reset I2C */ | ||
45 | i2c_init(); | ||
46 | |||
47 | #ifdef CPU_PP502x | 44 | #ifdef CPU_PP502x |
48 | /* normal outputs for CDI and I2S pin groups */ | 45 | /* normal outputs for CDI and I2S pin groups */ |
49 | DEV_INIT2 &= ~0x300; | 46 | DEV_INIT2 &= ~0x300; |