mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-30 05:16:53 +07:00
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>
This commit is contained in:
parent
75a23850cd
commit
8b223432f7
@ -370,7 +370,7 @@ int mac_irq_pending(unsigned int irq)
|
|||||||
break;
|
break;
|
||||||
case 4:
|
case 4:
|
||||||
if (psc_present)
|
if (psc_present)
|
||||||
psc_irq_pending(irq);
|
return psc_irq_pending(irq);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
return 0;
|
return 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user