fix mic-dma interrupt.

git-svn-id: file:///Users/lillianskinner/Downloads/platinum/twl/twl_wrapsdk/trunk@244 4ee2a332-4b2b-5046-8439-1ba90f034370
This commit is contained in:
nakasima 2007-08-21 03:06:43 +00:00
parent d804cdac84
commit 61cd321aa6

View File

@ -75,7 +75,7 @@ void MICi_Start( MICSampleRate smp, u32 dmaNo, void *dest, s32 size )
MICi_ExDmaRecvAsync( dmaNo, dest, size ); MICi_ExDmaRecvAsync( dmaNo, dest, size );
OS_SetIrqFunction( OS_IE_DMA4 + ch, MICi_ExDmaInterruptHandler ); OS_SetIrqFunction( OS_IE_DMA4 << ch, MICi_ExDmaInterruptHandler );
reg_OS_IF = (OS_IE_DMA4 << ch); reg_OS_IF = (OS_IE_DMA4 << ch);
reg_OS_IE |= (OS_IE_DMA4 << ch); // enable mic dma interrupt reg_OS_IE |= (OS_IE_DMA4 << ch); // enable mic dma interrupt