OSDN Git Service

pinctrl: sunxi: Handle bias disable
authorMaxime Ripard <maxime.ripard@free-electrons.com>
Tue, 11 Oct 2016 15:46:01 +0000 (17:46 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 24 Oct 2016 14:30:14 +0000 (16:30 +0200)
commit07fe64ba213f36ca8f6ffd8c4d5893f022744fdb
tree254908917490fc91513c4cfe3e306aa067376382
parent42676fa4aa87eda4fc762df495d4bde2ddc4bfce
pinctrl: sunxi: Handle bias disable

So far, putting NO_PULL in allwinner,pull was ignored, behaving like if
that property was not there at all.

Obviously, this is not the right thing to do, and in that case, we really
need to just disable the bias.

Acked-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/sunxi/pinctrl-sunxi.c