Thread (27 messages) 27 messages, 5 authors, 2011-03-25
STALE5557d
Revisions (6)
  1. v1 [diff vs current]
  2. v1 [diff vs current]
  3. v1 [diff vs current]
  4. v1 current
  5. v2 [diff vs current]
  6. v3 [diff vs current]

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

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help