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

Commit 83e34f03 authored by Jochen Friedrich's avatar Jochen Friedrich Committed by John W. Linville
Browse files

ssb: fix interrupt assignment



Explicitely enable shared interrupt 2 for any core that didn't get a dedicated IRQ
anymore (fallthrough case) and for EXTIF cores to make gpio interrupts work.
Also remove a bogus comment.

Signed-off-by: default avatarJochen Friedrich <jochen@scram.de>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent 0866b03c
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -270,7 +270,6 @@ void ssb_mipscore_init(struct ssb_mipscore *mcore)
				set_irq(dev, irq++);
			}
			break;
			/* fallthrough */
		case SSB_DEV_PCI:
		case SSB_DEV_ETHERNET:
		case SSB_DEV_ETHERNET_GBIT:
@@ -281,6 +280,10 @@ void ssb_mipscore_init(struct ssb_mipscore *mcore)
				set_irq(dev, irq++);
				break;
			}
			/* fallthrough */
		case SSB_DEV_EXTIF:
			set_irq(dev, 0);
			break;
		}
	}
	ssb_dprintk(KERN_INFO PFX "after irq reconfiguration\n");