Message ID | EAF47CD23C76F840A9E7FCE10091EFAB02A3E3D86D@dbde02.ent.ti.com (mailing list archive) |
---|---|
State | Accepted |
Commit | 04110caa6e1c5f92225c34a62d1bd7b6d276b85e |
Delegated to: | Tony Lindgren |
Headers | show |
This patch has been applied to the linux-omap by youw fwiendly patch wobot. Commit: 04110caa6e1c5f92225c34a62d1bd7b6d276b85e PatchWorks http://patchwork.kernel.org/patch/5361/ Git http://git.kernel.org/?p=linux/kernel/git/tmlind/linux-omap-2.6.git;a=commit;h=04110caa6e1c5f92225c34a62d1bd7b6d276b85e -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Index: omapkernel/arch/arm/plat-omap/dma.c =================================================================== --- omapkernel.orig/arch/arm/plat-omap/dma.c 2009-02-04 13:07:51.000000000 +0530 +++ omapkernel/arch/arm/plat-omap/dma.c 2009-02-04 14:00:38.709913959 +0530 @@ -1954,7 +1954,7 @@ static int omap2_dma_handle_ch(int ch) /* STATUS register count is from 1-32 while our is 0-31 */ static irqreturn_t omap2_dma_irq_handler(int irq, void *dev_id) { - u32 val; + u32 val, enable_reg; int i; val = dma_read(IRQSTATUS_L0); @@ -1963,6 +1963,8 @@ static irqreturn_t omap2_dma_irq_handler printk(KERN_WARNING "Spurious DMA IRQ\n"); return IRQ_HANDLED; } + enable_reg = dma_read(IRQENABLE_L0); + val &= enable_reg; /* Dispatch only relevant interrupts */ for (i = 0; i < dma_lch_count && val != 0; i++) { if (val & 1) omap2_dma_handle_ch(i);