summaryrefslogtreecommitdiff
path: root/firmware/pcm_playback.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/pcm_playback.c')
-rw-r--r--firmware/pcm_playback.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/firmware/pcm_playback.c b/firmware/pcm_playback.c
index 5597f69bdb..21c4bf8c04 100644
--- a/firmware/pcm_playback.c
+++ b/firmware/pcm_playback.c
@@ -286,8 +286,8 @@ void pcm_init(void)
286 pcm_playing = false; 286 pcm_playing = false;
287 pcm_paused = false; 287 pcm_paused = false;
288 288
289 BUSMASTER_CTRL = 0x81; /* PARK[1,0]=10 + BCR24BIT */ 289 MPARK = 0x81; /* PARK[1,0]=10 + BCR24BIT */
290 DIVR0 = 54; /* DMA0 is mapped into vector 54 in system.c */ 290 DIVR0 = 54; /* DMA0 is mapped into vector 54 in system.c */
291 DMAROUTE = (DMAROUTE & 0xffffff00) | DMA0_REQ_AUDIO_1; 291 DMAROUTE = (DMAROUTE & 0xffffff00) | DMA0_REQ_AUDIO_1;
292 DMACONFIG = 1; /* DMA0Req = PDOR3 */ 292 DMACONFIG = 1; /* DMA0Req = PDOR3 */
293 293
@@ -295,7 +295,7 @@ void pcm_init(void)
295 IIS2CONFIG = IIS_RESET; 295 IIS2CONFIG = IIS_RESET;
296 296
297 /* Enable interrupt at level 7, priority 0 */ 297 /* Enable interrupt at level 7, priority 0 */
298 ICR4 = (ICR4 & 0xffff00ff) | 0x00001c00; 298 ICR6 = 0x1c;
299 IMR &= ~(1<<14); /* bit 14 is DMA0 */ 299 IMR &= ~(1<<14); /* bit 14 is DMA0 */
300 300
301 pcm_set_frequency(44100); 301 pcm_set_frequency(44100);