Skip to content

Commit

Permalink
ssb: fix interrupt assignment
Browse files Browse the repository at this point in the history
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: Jochen Friedrich <jochen@scram.de>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
  • Loading branch information
Jochen Friedrich authored and John W. Linville committed Feb 8, 2010
1 parent 0866b03 commit 83e34f0
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion drivers/ssb/driver_mipscore.c
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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");
Expand Down

0 comments on commit 83e34f0

Please sign in to comment.