[PATCH v2 1/1] gpio: Fix ngpio in gpio-xilinx driver
From: Linus Walleij <hidden>
Date: 2014-09-24 11:38:09
Also in:
linux-gpio, lkml
From: Linus Walleij <hidden>
Date: 2014-09-24 11:38:09
Also in:
linux-gpio, lkml
On Wed, Sep 24, 2014 at 12:58 AM, Gernot Vormayr [off-list ref] 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 <redacted>
Patch applied. Yours, Linus Walleij