summaryrefslogtreecommitdiffstats
path: root/drivers/gpio/gpio-bcm-kona.c
diff options
context:
space:
mode:
authorGernot Vormayr <gvormayr@gmail.com>2014-09-24 00:58:45 +0200
committerLinus Walleij <linus.walleij@linaro.org>2014-09-24 13:37:38 +0200
commit1b4c5a6e6b73b082170bfcbf1ff3e2fcf2e7530c (patch)
tree8d691c89257a7fe3b2bf773b47ebb13e0e1cc9cd /drivers/gpio/gpio-bcm-kona.c
parent58a3b92d33d289e2f3390b40a2c5cfd7f32cfe7a (diff)
downloadlinux-stable-1b4c5a6e6b73b082170bfcbf1ff3e2fcf2e7530c.tar.gz
linux-stable-1b4c5a6e6b73b082170bfcbf1ff3e2fcf2e7530c.tar.bz2
linux-stable-1b4c5a6e6b73b082170bfcbf1ff3e2fcf2e7530c.zip
gpio: Fix ngpio in gpio-xilinx driver
If one adds gpio-controller; to the chip in the devicetree, then initialization fails with 'gpiochip_find_base: cannot find free range', because ngpio is 0. This patch fixes the bug. This version includes the suggestions from Linus Walleij. Tested on ml507 board. Signed-off-by: Gernot Vormayr <gvormayr@gmail.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/gpio/gpio-bcm-kona.c')
0 files changed, 0 insertions, 0 deletions