Skip to content
Commit 9b4924da authored by Martin Schiller's avatar Martin Schiller Committed by Linus Walleij
Browse files

pinctrl: xway: fix gpio-hog related boot issues



This patch is based on commit a86caa9b ("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: default avatarMartin Schiller <ms@dev.tdt.de>
Acked-by: default avatarJohn Crispin <john@phrozen.org>
Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent 7f07675c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment