pcm-as3525.c : don't use |= on a write-only register (VIC_INT_EN_CLEAR).

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19345 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Bertrik Sikken 2008-12-04 22:56:11 +00:00
parent e97191faa7
commit 894dbfac18

View file

@ -43,7 +43,7 @@ static int locked = 0;
void pcm_play_lock(void) void pcm_play_lock(void)
{ {
if(++locked == 1) if(++locked == 1)
VIC_INT_EN_CLEAR |= INTERRUPT_DMAC; VIC_INT_EN_CLEAR = INTERRUPT_DMAC;
} }
/* Unmask the DMA interrupt if enabled */ /* Unmask the DMA interrupt if enabled */