as3525: as revealed by r26311, it seems DMAC interrupt can't be masked
commit264406b6762a13c550c0711e6e77a19dc7e877dd
authorfunman <funman@a1c6a512-1295-4272-9138-f99709370657>
Wed, 26 May 2010 17:32:50 +0000 (26 17:32 +0000)
committerfunman <funman@a1c6a512-1295-4272-9138-f99709370657>
Wed, 26 May 2010 17:32:50 +0000 (26 17:32 +0000)
treee444590e501e659338c2880f04384438719395f4
parent799720451f6129906510ecb8e106c3d25186f2da
as3525: as revealed by r26311, it seems DMAC interrupt can't be masked

Even if we disable it in VIC_INT_EN_CLEAR, it still fires an interrupt
by running the default isr.
Locking requires disabling interrupts completely.
I'm not sure if DMAC is the only interrupt affected or if we can't rely
on VIC_INT_EN_CLEAR to mask interrupts.
If it's the latter, we will need to have special locking scheme for
INT_AUDIO.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26316 a1c6a512-1295-4272-9138-f99709370657
firmware/target/arm/as3525/pcm-as3525.c