-
由 Gernot Vormayr 提交于
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: NGernot Vormayr <gvormayr@gmail.com> Signed-off-by: NLinus Walleij <linus.walleij@linaro.org>
1b4c5a6e