Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8b223432 authored by Finn Thain's avatar Finn Thain Committed by Geert Uytterhoeven
Browse files

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: default avatarFinn Thain <fthain@telegraphics.com.au>
Signed-off-by: default avatarGeert Uytterhoeven <geert@linux-m68k.org>
parent 75a23850
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;