Skip to content

Commit

Permalink
MIPS: lantiq: dont register irq_chip for the irq cascade
Browse files Browse the repository at this point in the history
We dont want to register the irq_chip for the MIPS IRQ cascade.

Signed-off-by: John Crispin <blogic@openwrt.org>
Patchwork: http://patchwork.linux-mips.org/patch/4230/
  • Loading branch information
John Crispin committed Aug 22, 2012
1 parent c2c9c78 commit 9c1628b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions arch/mips/lantiq/irq.c
Original file line number Diff line number Diff line change
Expand Up @@ -297,6 +297,9 @@ static int icu_map(struct irq_domain *d, unsigned int irq, irq_hw_number_t hw)
struct irq_chip *chip = &ltq_irq_type;
int i;

if (hw < MIPS_CPU_IRQ_CASCADE)
return 0;

for (i = 0; i < exin_avail; i++)
if (hw == ltq_eiu_irq[i])
chip = &ltq_eiu_type;
Expand Down

0 comments on commit 9c1628b

Please sign in to comment.