[RFT PATCH 5/6] pinctrl: meson: use gpio-ranges from DT
Linus Walleij
linus.walleij at linaro.org
Tue Mar 28 02:40:57 PDT 2017
On Thu, Mar 23, 2017 at 5:27 PM, Neil Armstrong <narmstrong at baylibre.com> wrote:
> When trying to add a gpio-hog, we enter a weird loop where the gpio-ranges
> is needed when gpiochip_add_data() is called but in the current implementation
> the ranges are added from the driver afterwards.
>
> A simple solution is to rely on the DR gpio-ranges attribute and remove the
> call to gpiochip_add_pin_range().
>
> Signed-off-by: Neil Armstrong <narmstrong at baylibre.com>
Patch applied.
Yours,
Linus Walleij
More information about the linux-arm-kernel
mailing list