Re: [PATCH] pinctrl: xway: fix gpio-hog related boot issues

From: John Crispin
Date: Mon Dec 17 2018 - 11:45:46 EST



On 17/12/2018 15:32, Linus Walleij wrote:
On Fri, Dec 14, 2018 at 8:48 AM Martin Schiller <ms@xxxxxxxxxx> wrote:

This patch is based on commit a86caa9ba5d7 ("pinctrl: msm: fix gpio-hog
related boot issues").

It fixes the issue that the gpio ranges needs to be defined before
gpiochip_add().

Therefore, we also have to swap the order of registering the pinctrl
driver and registering the gpio chip.

You also have to add the "gpio-ranges" property to the pinctrl device
node to get it finally working.

Signed-off-by: Martin Schiller <ms@xxxxxxxxxx>
Patch applied unless John Crispin has objections, it looks
good to me!

Yours,
Linus Walleij


sorry did not see the patch in my inbox

Acked-by: John Crispin <john@xxxxxxxxxxx>