diff options
author | Barry Wardell <rockbox@barrywardell.net> | 2007-11-05 14:26:47 +0000 |
---|---|---|
committer | Barry Wardell <rockbox@barrywardell.net> | 2007-11-05 14:26:47 +0000 |
commit | 91bacf363ae4251a87edda4cb1c414153e350d2e (patch) | |
tree | 25f61537279a458f64bda24b1b4b2dd6888ff8cd /firmware/drivers/audio/as3514.c | |
parent | 91ccc01bcf78e6a06dce5f900242397813c1e50e (diff) | |
download | rockbox-91bacf363ae4251a87edda4cb1c414153e350d2e.tar.gz rockbox-91bacf363ae4251a87edda4cb1c414153e350d2e.zip |
Get rid of a couple of inl/outl since we have defines. Also use some other defines in place of magic values.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15470 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/drivers/audio/as3514.c')
-rw-r--r-- | firmware/drivers/audio/as3514.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/firmware/drivers/audio/as3514.c b/firmware/drivers/audio/as3514.c index bc6705caf2..5d7c700ac1 100644 --- a/firmware/drivers/audio/as3514.c +++ b/firmware/drivers/audio/as3514.c | |||
@@ -141,15 +141,15 @@ void audiohw_init(void) | |||
141 | DEV_INIT2 &= ~0x300; | 141 | DEV_INIT2 &= ~0x300; |
142 | 142 | ||
143 | /*mini2?*/ | 143 | /*mini2?*/ |
144 | outl(inl(0x70000010) & ~0x3000000, 0x70000010); | 144 | DEV_INIT1 &=~0x3000000; |
145 | /*mini2?*/ | 145 | /*mini2?*/ |
146 | 146 | ||
147 | /* device reset */ | 147 | /* device reset */ |
148 | DEV_RS |= 0x800; | 148 | DEV_RS |= DEV_I2S; |
149 | DEV_RS &=~0x800; | 149 | DEV_RS &=~DEV_I2S; |
150 | 150 | ||
151 | /* device enable */ | 151 | /* device enable */ |
152 | DEV_EN |= 0x807; | 152 | DEV_EN |= (DEV_I2S | 0x7); |
153 | 153 | ||
154 | /* enable external dev clock clocks */ | 154 | /* enable external dev clock clocks */ |
155 | DEV_EN |= 0x2; | 155 | DEV_EN |= 0x2; |