[PATCH v2 1/1] gpio: Fix ngpio in gpio-xilinx driver

Linus Walleij linus.walleij at linaro.org
Wed Sep 24 04:38:04 PDT 2014


On Wed, Sep 24, 2014 at 12:58 AM, Gernot Vormayr <gvormayr at gmail.com> wrote:

> 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 at gmail.com>

Patch applied.

Yours,
Linus Walleij



More information about the linux-arm-kernel mailing list