]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
This fixes the spurious interrupt issue on a DMA channel.
authorSantosh Shilimkar <santosh.shilimkar@ti.com>
Fri, 27 Feb 2009 19:38:28 +0000 (11:38 -0800)
committerTony Lindgren <tony@atomide.com>
Fri, 27 Feb 2009 19:38:28 +0000 (11:38 -0800)
commit04110caa6e1c5f92225c34a62d1bd7b6d276b85e
treee86f6808b59b8d2977d46dcfbd54cbc5f4f8e0a2
parentc94500eeeafe4b66c690abd96044340b2e5372e7
This fixes the spurious interrupt issue on a DMA channel.

    In OMAP sDMA, contrast to the SDMA.DMA4_CSRi registers, the
    SDMA.DMA4_IRQSTATUS_Lj registers are updated regardless of
    the corresponding bits in the SDMA.DMA4_IRQENABLE_Lj registers.
    Since there are four sDMA interrupt lines and if more than one
    line is actively used by two concurrently running sDMA softwares
    modules,then the spurious interrupt can be observed on the other
     lines.

    Fix in this patch will only dispatch the relevant and enabled
    interrupts on a particular line thus perevting spurious IRQ.

Signed-off-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
Acked By: Nishant Kamat <nskamat@ti.com>
cc: Tony Lindgren <tony@atomide.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/plat-omap/dma.c