imx233: move icoll stuff to its own file

The icoll code now has an IRQ storm detection mechanism which
will prevent the device from hard freezing in case it happen.

Change-Id: I9861238dce61d29af1e48f9c534ec63a7f23465c
This commit is contained in:
Amaury Pouly 2012-05-19 13:23:17 +02:00
parent 553aeae9c6
commit 9ced006c06
13 changed files with 272 additions and 174 deletions

View file

@ -103,8 +103,8 @@ void pcm_play_dma_init(void)
void pcm_play_dma_postinit(void)
{
audiohw_postinit();
imx233_enable_interrupt(INT_SRC_DAC_DMA, true);
imx233_enable_interrupt(INT_SRC_DAC_ERROR, true);
imx233_icoll_enable_interrupt(INT_SRC_DAC_DMA, true);
imx233_icoll_enable_interrupt(INT_SRC_DAC_ERROR, true);
imx233_dma_enable_channel_interrupt(APB_AUDIO_DAC, true);
}