diff options
author | Lad, Prabhakar <prabhakar.csengg@gmail.com> | 2013-11-08 06:45:55 (GMT) |
---|---|---|
committer | Sekhar Nori <nsekhar@ti.com> | 2013-11-21 14:11:51 (GMT) |
commit | 34af1ab4a2cc97721a00fce19d9fbafd9ff4b300 (patch) | |
tree | 9c7a23ac0f62dd4719da0b042ecdd9fe3aaa0932 /arch/arm/mach-davinci/dm646x.c | |
parent | 527d1511310a89650000081869260394e20c7013 (diff) | |
download | linux-34af1ab4a2cc97721a00fce19d9fbafd9ff4b300.tar.xz |
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 'arch/arm/mach-davinci/dm646x.c')
0 files changed, 0 insertions, 0 deletions