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

From: Linus Walleij
Date: Wed Sep 24 2014 - 07:38:13 EST


On Wed, Sep 24, 2014 at 12:58 AM, Gernot Vormayr <gvormayr@xxxxxxxxx> 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@xxxxxxxxx>

Patch applied.

Yours,
Linus Walleij
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/