Commit afee78f0 authored by Magnus Lilja's avatar Magnus Lilja Committed by Greg Kroah-Hartman

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

commit adee40b2 upstream.

Commit 3d8cc000 ("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: 3d8cc000 ("dmaengine: ipu: Consolidate duplicated irq handlers")
Cc: Vinod Koul <vinod.koul@intel.com>
Signed-off-by: default avatarMagnus Lilja <lilja.magnus@gmail.com>
Signed-off-by: default avatarVinod Koul <vinod.koul@intel.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 79a7ff14
...@@ -272,7 +272,7 @@ static void ipu_irq_handler(struct irq_desc *desc) ...@@ -272,7 +272,7 @@ static void ipu_irq_handler(struct irq_desc *desc)
u32 status; u32 status;
int i, line; int i, line;
for (i = IPU_IRQ_NR_FN_BANKS; i < IPU_IRQ_NR_BANKS; i++) { for (i = 0; i < IPU_IRQ_NR_BANKS; i++) {
struct ipu_irq_bank *bank = irq_bank + i; struct ipu_irq_bank *bank = irq_bank + i;
raw_spin_lock(&bank_lock); raw_spin_lock(&bank_lock);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment