git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
58a3b92
)
gpio: Fix ngpio in gpio-xilinx driver
author
Gernot Vormayr
<gvormayr@gmail.com>
Tue, 23 Sep 2014 22:58:45 +0000
(
00:58
+0200)
committer
Linus Walleij
<linus.walleij@linaro.org>
Wed, 24 Sep 2014 11:37:38 +0000
(13:37 +0200)
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>
No differences found