Skip to content

Commit

Permalink
m68k/mac: Fix mac_irq_pending() for PSC MACE and SCC
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Finn Thain authored and Geert Uytterhoeven committed Oct 24, 2011
1 parent 75a2385 commit 8b22343
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/m68k/mac/macints.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 8b22343

Please sign in to comment.