Commit 8b223432f76acc13898b8874f55d5292da573d8e

Authored by Finn Thain
Committed by Geert Uytterhoeven
1 parent 75a23850cd

m68k/mac: Fix mac_irq_pending() for PSC MACE and SCC

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>

Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff

arch/m68k/mac/macints.c
... ... @@ -370,7 +370,7 @@
370 370 break;
371 371 case 4:
372 372 if (psc_present)
373   - psc_irq_pending(irq);
  373 + return psc_irq_pending(irq);
374 374 break;
375 375 }
376 376 return 0;