pinctrl: uniphier: fix WARN_ON() of pingroups dump on LD11
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Wed, 14 Jun 2017 04:49:29 +0000 (13:49 +0900)
committerLinus Walleij <linus.walleij@linaro.org>
Tue, 20 Jun 2017 09:33:49 +0000 (11:33 +0200)
commit9592bc256d50481dfcdba93890e576a728fb373c
tree563c3c213505ab796ea0ab453af486421c12b115
parent6efaf7cbe6686ea5b066331af3ac06d69a76cd02
pinctrl: uniphier: fix WARN_ON() of pingroups dump on LD11

The pingroups dump of debugfs hits WARN_ON() in pinctrl_groups_show().
Filling non-existing ports with '-1' turned out a bad idea.

Fixes: 70f2f9c4cf25 ("pinctrl: uniphier: add UniPhier PH1-LD11 pinctrl driver")
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/uniphier/pinctrl-uniphier-ld11.c