diff mbox series

[8/8] pinctrl: meson-gxbb: add missing GPIOX_22 pin

Message ID 20170920133927.17390-9-jbrunet@baylibre.com
State Accepted
Commit 027c87fe69599598c6d396b971d2cd9ef45e002e
Headers show
Series [1/8] pinctrl: meson: remove offset from pinctrl | expand

Commit Message

Jerome Brunet Sept. 20, 2017, 1:39 p.m. UTC
GPIOX_22 is declared as a gpio but the id is no present in the pin
table. This hole trigger an error while reading the pingroup debugfs entry

GPIOX_22 is no routed externally. For all we know, it could an internal
pin of SoC

Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>

---
 drivers/pinctrl/meson/pinctrl-meson-gxbb.c | 1 +
 1 file changed, 1 insertion(+)

-- 
2.13.5

Comments

Linus Walleij Oct. 5, 2017, 11:45 a.m. UTC | #1
On Wed, Sep 20, 2017 at 3:39 PM, Jerome Brunet <jbrunet@baylibre.com> wrote:

> GPIOX_22 is declared as a gpio but the id is no present in the pin

> table. This hole trigger an error while reading the pingroup debugfs entry

>

> GPIOX_22 is no routed externally. For all we know, it could an internal

> pin of SoC

>

> Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>


Patch applied.

Yours,
Linus Walleij
diff mbox series

Patch

diff --git a/drivers/pinctrl/meson/pinctrl-meson-gxbb.c b/drivers/pinctrl/meson/pinctrl-meson-gxbb.c
index 1305d68b0954..62483b67f114 100644
--- a/drivers/pinctrl/meson/pinctrl-meson-gxbb.c
+++ b/drivers/pinctrl/meson/pinctrl-meson-gxbb.c
@@ -136,6 +136,7 @@  static const struct pinctrl_pin_desc meson_gxbb_periphs_pins[] = {
 	MESON_PIN(GPIOX_19),
 	MESON_PIN(GPIOX_20),
 	MESON_PIN(GPIOX_21),
+	MESON_PIN(GPIOX_22),
 
 	MESON_PIN(GPIOCLK_0),
 	MESON_PIN(GPIOCLK_1),