]> git.karo-electronics.de Git - karo-tx-linux.git/commit
MIPS: ath79: fix a wrong IRQ number
authorGabor Juhos <juhosg@openwrt.org>
Wed, 14 Mar 2012 09:36:06 +0000 (10:36 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Fri, 27 Apr 2012 13:41:32 +0000 (14:41 +0100)
commite50ca1e22b4d3a30bbf35735c61cb0a24fb90c5c
tree0011614ea135ff649ea976ba22f5d2547a209c31
parent55da641c04f83205e22b60be99ca59ab557c0a91
MIPS: ath79: fix a wrong IRQ number

The Ubiquiti XM board setup code uses an invalid
IRQ number, because it if above of NR_IRQS. This
leads to failed 'request_irq' calls:

  ath9k 0000:00:00.0: request_irq failed
  ath9k: probe of 0000:00:00.0 failed with error -22

Preserve some IRQ numbers for the built-in IRQ
controller of PCI host controllers in the
AR71XX/AR724X SoCs, and use the correct IRQ
number in the board setup code.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/3495/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/ath79/mach-ubnt-xm.c
arch/mips/include/asm/mach-ath79/irq.h