mirror of https://gitee.com/openkylin/linux.git
pinctrl: uniphier: fix .pin_dbg_show() callback
Without this, reading the "pins" in the debugfs causes kernel BUG.
Fixes: 6e90889202
("pinctrl: UniPhier: add UniPhier pinctrl core support")
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
This commit is contained in:
parent
6e408ed8be
commit
10ef8277ec
|
@ -73,6 +73,12 @@ static void uniphier_pctl_pin_dbg_show(struct pinctrl_dev *pctldev,
|
|||
case UNIPHIER_PIN_PULL_DOWN:
|
||||
pull_dir = "DOWN";
|
||||
break;
|
||||
case UNIPHIER_PIN_PULL_UP_FIXED:
|
||||
pull_dir = "UP(FIXED)";
|
||||
break;
|
||||
case UNIPHIER_PIN_PULL_DOWN_FIXED:
|
||||
pull_dir = "DOWN(FIXED)";
|
||||
break;
|
||||
case UNIPHIER_PIN_PULL_NONE:
|
||||
pull_dir = "NONE";
|
||||
break;
|
||||
|
|
Loading…
Reference in New Issue