m68k/mac: Fix mac_irq_pending() for PSC MACE and SCC
authorFinn Thain <fthain@telegraphics.com.au>
Mon, 18 Jul 2011 09:44:17 +0000 (19:44 +1000)
committerGeert Uytterhoeven <geert@linux-m68k.org>
Mon, 24 Oct 2011 19:00:34 +0000 (21:00 +0200)
Add missing return statement. The docs say that the level 4 PSC IRQs
relate to MACE DMA and SCC. Since those drivers don't call
mac_irq_pending() this patch has no affect. But it should be fixed all the
same, since it can be useful for MACE debugging.

Signed-off-by: Finn Thain <fthain@telegraphics.com.au>
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
arch/m68k/mac/macints.c

index 900d899f33235c32f02cc27a393d1e642f11810b..f92190c159b47f48ee0648d64c0a353f87488477 100644 (file)
@@ -370,7 +370,7 @@ int mac_irq_pending(unsigned int irq)
                break;
        case 4:
                if (psc_present)
-                       psc_irq_pending(irq);
+                       return psc_irq_pending(irq);
                break;
        }
        return 0;