Skip to content

Commit ac059e2

Browse files
plaeslinusw
authored andcommitted
Revert "pinctrl: sunxi: Don't enforce bias disable (for now)"
This reverts commit 2154d94. The original patch was intented to avoid some issues with the sunxi gpio rework and was supposed to be reverted after all the required DT bits had been merged around v4.10. Signed-off-by: Priit Laes <[email protected]> Acked-by: Maxime Ripard <[email protected]> Signed-off-by: Linus Walleij <[email protected]>
1 parent 12219fd commit ac059e2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

drivers/pinctrl/sunxi/pinctrl-sunxi.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -564,7 +564,8 @@ static int sunxi_pconf_group_set(struct pinctrl_dev *pctldev,
564564
val = arg / 10 - 1;
565565
break;
566566
case PIN_CONFIG_BIAS_DISABLE:
567-
continue;
567+
val = 0;
568+
break;
568569
case PIN_CONFIG_BIAS_PULL_UP:
569570
if (arg == 0)
570571
return -EINVAL;

0 commit comments

Comments
 (0)