]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
MIPS: Lantiq: Register IRQ handler for virtual IRQ number
authorHauke Mehrtens <hauke@hauke-m.de>
Mon, 6 Jun 2016 21:28:33 +0000 (23:28 +0200)
committerRalf Baechle <ralf@linux-mips.org>
Sun, 24 Jul 2016 10:39:59 +0000 (12:39 +0200)
commit7bf0d5e8e643a05de2cca699ac29903b19010cc1
tree96e94eade7a71eeca50a67e5e52dc26f598844a1
parentf0bbe4dc5ce2dd610e1ec7dd3f428bb5670f9878
MIPS: Lantiq: Register IRQ handler for virtual IRQ number

We used the hardware IRQ number to register the IRQ handler and not the
virtual one. This probably caused some problems because the hardware
IRQ numbers are only unique for each IRQ controller and not in the
system. The virtual IRQ number is managed by Linux and unique in the
system. This was probably the reason there was a gab of 8 IRQ numbers added
before the numbers used for the lantiq IRQ controller. With the current
setup the hardware and the virtual IRQ numbers are the same.

Reported-by: Thomas Langer <thomas.langer@intel.com>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Acked-by: John Crispin <john@phrozen.org>
Cc: thomas.langer@intel.com
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/13539/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/lantiq/irq.c