[PATCH 6/7] dmaengine: change the flags of request_irq()

Huang Shijie b32955 at freescale.com
Fri Mar 18 02:12:12 EDT 2011


HI:
> Hi,
>
> Huang Shijie writes:
>> 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





More information about the linux-arm-kernel mailing list