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

Commit f435a91e authored by Ralf Baechle's avatar Ralf Baechle
Browse files

[MIPS] BCM1480: Fix interrupt routing, take 2.

parent 7e1fb765
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -76,7 +76,10 @@ static inline void WRITECFG32(u32 addr, u32 data)

int pcibios_map_irq(const struct pci_dev *dev, u8 slot, u8 pin)
{
	return K_BCM1480_INT_PCI_INTA + pin;
	if (pin == 0)
		return -1;

	return K_BCM1480_INT_PCI_INTA - 1 + pin;
}

/* Do platform specific device initialization at pci_enable_device() time */