gpio: zynq: Take bank offset into account when reporting a IRQ
authorLars-Peter Clausen <lars@metafoo.de>
Mon, 18 Aug 2014 09:54:56 +0000 (11:54 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Wed, 3 Sep 2014 11:56:31 +0000 (13:56 +0200)
commit016da14439b83fbb82c67c497eb770c8025608fe
treee90beacc51314641af8a11550c4796c05ed9b171
parent0752e169ba523e35f70d2fee4d06680b33e0e202
gpio: zynq: Take bank offset into account when reporting a IRQ

When looking up the IRQ the bank offset needs to be taken into account.
Otherwise interrupts for banks other than bank 0 get incorrectly reported as
interrupts for bank 0.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-zynq.c