diff options
author | Priit Laes <plaes@plaes.org> | 2017-08-27 15:55:23 +0300 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2017-08-31 15:51:49 +0200 |
commit | ac059e2aa01dcbbd7e0b2609abbef5790486fafe (patch) | |
tree | 04be30a234628470f378abcebe9ec629c703d317 /drivers/pinctrl/sunxi | |
parent | 12219fd2bf5304293f5cf014cbc2e6bfdfcab7b5 (diff) | |
download | blackbird-op-linux-ac059e2aa01dcbbd7e0b2609abbef5790486fafe.tar.gz blackbird-op-linux-ac059e2aa01dcbbd7e0b2609abbef5790486fafe.zip |
Revert "pinctrl: sunxi: Don't enforce bias disable (for now)"
This reverts commit 2154d94b40ea2a5de05245521371d0461bb0d669.
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 <plaes@plaes.org>
Acked-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/pinctrl/sunxi')
-rw-r--r-- | drivers/pinctrl/sunxi/pinctrl-sunxi.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/pinctrl/sunxi/pinctrl-sunxi.c b/drivers/pinctrl/sunxi/pinctrl-sunxi.c index 0dfd7fa66c48..52edf3b5988d 100644 --- a/drivers/pinctrl/sunxi/pinctrl-sunxi.c +++ b/drivers/pinctrl/sunxi/pinctrl-sunxi.c @@ -564,7 +564,8 @@ static int sunxi_pconf_group_set(struct pinctrl_dev *pctldev, val = arg / 10 - 1; break; case PIN_CONFIG_BIAS_DISABLE: - continue; + val = 0; + break; case PIN_CONFIG_BIAS_PULL_UP: if (arg == 0) return -EINVAL; |