diff options
Diffstat (limited to 'firmware/drivers/audio')
-rw-r--r-- | firmware/drivers/audio/as3514.c | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/firmware/drivers/audio/as3514.c b/firmware/drivers/audio/as3514.c index 2dc1513668..80ada46f80 100644 --- a/firmware/drivers/audio/as3514.c +++ b/firmware/drivers/audio/as3514.c | |||
@@ -146,11 +146,15 @@ void audiohw_init(void) | |||
146 | DEV_RS |= DEV_I2S; | 146 | DEV_RS |= DEV_I2S; |
147 | DEV_RS &=~DEV_I2S; | 147 | DEV_RS &=~DEV_I2S; |
148 | 148 | ||
149 | /* device enable */ | 149 | /* I2S device reset */ |
150 | DEV_EN |= (DEV_I2S | 0x7); | 150 | DEV_RS |= DEV_I2S; |
151 | DEV_RS &=~DEV_I2S; | ||
152 | |||
153 | /* I2S device enable */ | ||
154 | DEV_EN |= DEV_I2S; | ||
151 | 155 | ||
152 | /* enable external dev clock clocks */ | 156 | /* enable external dev clock clocks */ |
153 | DEV_EN |= 0x2; | 157 | DEV_EN |= DEV_EXTCLOCKS; |
154 | 158 | ||
155 | /* external dev clock to 24MHz */ | 159 | /* external dev clock to 24MHz */ |
156 | outl(inl(0x70000018) & ~0xc, 0x70000018); | 160 | outl(inl(0x70000018) & ~0xc, 0x70000018); |