[PATCH 6/7] dmaengine: change the flags of request_irq()
From: Huang Shijie <hidden>
Date: 2011-03-18 06:12:12
From: Huang Shijie <hidden>
Date: 2011-03-18 06:12:12
HI:
Hi, Huang Shijie writes:quoted
The GPMI may have many DMA channels, such as the imx23 has four DMA channels. All these DMA channels share the same interrupt. So change the flags from '0' to IRQF_SHARED, else there will be an EBUSY error returns.Problem is, that the mxs_dma_int_handler() need to be rewritten for that since it currently does not support shared interrupts (as you can easily find out by enabling CONFIG_DEBUG_SHIRQ.
I enabled the CONFIG_DEBUG_SHIRQ, and I tested in imx23, the code is ok. So I think there is no need to rewritten the mxs_dma_int_handler(). Btw: The missing patch can be found the MTD maillist archive: http://lists.infradead.org/pipermail/linux-mtd/2011-March/034379.html Best Regards Huang Shijie