• Ben Dooks's avatar
    [ARM] CATS: Do not try and map bad PCI IRQ numbers · e38d523f
    Ben Dooks authored
    The cats_map_irq() function in the Simtec CATS support
    code is mapping IRQ 255 (invalid IRQ) into what is a
    supposedly valid interrupt numner which can cause problems
    with other devices then seeing an interrupt they cannot
    claim.
    
    If the IRQ number if >= 255, then return -1 as this is not
    something we can map.
    Signed-off-by: default avatarBen Dooks <ben-linux@fluff.org>
    e38d523f
cats-pci.c 1.28 KB