gpio: set parent irq on chained handlers
authorLinus Walleij <linus.walleij@linaro.org>
Fri, 26 Sep 2014 11:50:12 +0000 (13:50 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Fri, 26 Sep 2014 12:35:54 +0000 (14:35 +0200)
commit83141a771975f4e54402ab05e5cbbc3c56f45bdd
tree219158fd8726c5c50605508962554281509120d6
parente3893386b90500d7f26fec3170bf96f67d3e557e
gpio: set parent irq on chained handlers

If the IRQ from the parent is nested the IRQ may need to be
resent under certain conditions. Currently the chained IRQ
handler in gpiolib does not handle connecting nested IRQs
but it is conceptually correct to indicate the actual parent
IRQ.

Reported-by: Grygorii Strashko <grygorii.strashko@ti.com>
Reported-by: Lothar Waßmann <LW@karo-electronics.de>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpiolib.c