gpio: davinci: Assign first bank regs for unbanked case
authorKeerthy <j-keerthy@ti.com>
Fri, 10 Nov 2017 11:13:17 +0000 (16:43 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 25 Feb 2018 10:07:56 +0000 (11:07 +0100)
commit073cd31e2fd18de990c6a1617c6c281eb6fb8ba3
treef04b509478709eefb2a7b69e18a4b1d1d1f7bc96
parent4c194e5b0d90869a2fad206d106d524ba1c9232b
gpio: davinci: Assign first bank regs for unbanked case

[ Upstream commit 7f8e2a85c1b0bd440ffe87be82c79fdc319e8291 ]

As per the re-design assign the first bank regs for unbanked
irq case. This was missed out in the original patch.

Signed-off-by: Keerthy <j-keerthy@ti.com>
Fixes: b5cf3fd827d2e1 ("gpio: davinci: Redesign driver to accommodate ngpios in one gpio chip")
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Sasha Levin <alexander.levin@verizon.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/gpio/gpio-davinci.c