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

From: Martin Schiller
Date: Tue Dec 18 2018 - 01:43:20 EST


On 2018-12-17 17:45, John Crispin wrote:
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


Sorry, that was my fault.
I've added everyone from getmaintainers.pl output, but forgot to also add you.

Regards,
Martin