Skip to content
Commit e38d523f authored by Ben Dooks's avatar Ben Dooks
Browse files

[ARM] CATS: Do not try and map bad PCI IRQ numbers



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>
parent 29210475
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment