summaryrefslogtreecommitdiffstats
path: root/drivers/gpio/gpio-rcar.c
diff options
context:
space:
mode:
authorLad, Prabhakar <prabhakar.csengg@gmail.com>2013-11-08 12:15:55 +0530
committerSekhar Nori <nsekhar@ti.com>2013-11-21 19:41:51 +0530
commit34af1ab4a2cc97721a00fce19d9fbafd9ff4b300 (patch)
tree9c7a23ac0f62dd4719da0b042ecdd9fe3aaa0932 /drivers/gpio/gpio-rcar.c
parent527d1511310a89650000081869260394e20c7013 (diff)
downloadop-kernel-dev-34af1ab4a2cc97721a00fce19d9fbafd9ff4b300.zip
op-kernel-dev-34af1ab4a2cc97721a00fce19d9fbafd9ff4b300.tar.gz
gpio: davinci: fix check for unbanked gpio
This patch fixes a check for offset in gpio_to_irq_unbanked() and also assigns gpio_irq, gpio_unbanked of chips[0] to appropriate values which is used in gpio_to_irq_unbanked() function. Without this patch, unbanked IRQ handling is broken. Reported-by: Grygorii Strashko <grygorii.strashko@ti.com> Acked-by: Grygorii Strashko <grygorii.strashko@ti.com> Acked-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Lad, Prabhakar <prabhakar.csengg@gmail.com> Signed-off-by: Sekhar Nori <nsekhar@ti.com>
Diffstat (limited to 'drivers/gpio/gpio-rcar.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud