diff options
author | Chen-Yu Tsai <wens@csie.org> | 2016-11-11 12:50:34 +0300 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2016-11-15 12:17:45 +0300 |
commit | 223dba00b4072efc590c7d648f230db1b44186b9 (patch) | |
tree | f573d75e2f553d9148fd6c95f5d550a319e50bf3 /drivers/pinctrl/qcom/pinctrl-msm8996.c | |
parent | 88f01a1bd0e0dbd01b65907023dbe53cf524ea2a (diff) | |
download | linux-223dba00b4072efc590c7d648f230db1b44186b9.tar.xz |
pinctrl: sunxi: Fix PIN_CONFIG_BIAS_PULL_{DOWN,UP} argument
According to pinconf-generic.h, the argument for
PIN_CONFIG_BIAS_PULL_{DOWN,UP} is non-zero if the bias is enabled
with a pull up/down resistor, zero if it is directly connected
to VDD or ground.
Since Allwinner hardware uses a weak pull resistor internally,
the argument should be 1.
Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Acked-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/pinctrl/qcom/pinctrl-msm8996.c')
0 files changed, 0 insertions, 0 deletions