Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

dmaengine: ipu: Make sure the interrupt routine checks all interrupts.

Commit 3d8cc00073d6 ("dmaengine: ipu: Consolidate duplicated irq handlers")
consolidated the two interrupts routines into one, but the remaining
interrupt routine only checks the status of the error interrupts, not the
normal interrupts.

This patch fixes that problem (tested on i.MX31 PDK board).

Fixes: 3d8cc00073d6 ("dmaengine: ipu: Consolidate duplicated irq handlers")
Cc: Vinod Koul <vinod.koul@intel.com>
Cc: <stable@vger.kernel.org> # 4.1.x
Signed-off-by: Magnus Lilja <lilja.magnus@gmail.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>

authored by

Magnus Lilja and committed by
Vinod Koul
adee40b2 c4c5cd69

+1 -1
+1 -1
drivers/dma/ipu/ipu_irq.c
··· 272 272 u32 status; 273 273 int i, line; 274 274 275 - for (i = IPU_IRQ_NR_FN_BANKS; i < IPU_IRQ_NR_BANKS; i++) { 275 + for (i = 0; i < IPU_IRQ_NR_BANKS; i++) { 276 276 struct ipu_irq_bank *bank = irq_bank + i; 277 277 278 278 raw_spin_lock(&bank_lock);