Commit 8495ab6e authored by Masahiro Yamada's avatar Masahiro Yamada Committed by Greg Kroah-Hartman

pinctrl: uniphier: fix WARN_ON() of pingroups dump on LD20

commit 1bd303dc upstream.

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

Fixes: 336306ee ("pinctrl: uniphier: add UniPhier PH1-LD20 pinctrl driver")
Signed-off-by: default avatarMasahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent f642d29c
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment