summaryrefslogtreecommitdiff
path: root/drivers/pinctrl/pinctrl-sunxi.c
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2013-06-16 14:43:06 +0400
committerLinus Walleij <linus.walleij@linaro.org>2013-06-17 20:18:32 +0400
commit5ca3353bcee929c3b7bbf39f79038842f443f01a (patch)
treeb9ca8539bef9bf05e6a170e25f5b243c49201d96 /drivers/pinctrl/pinctrl-sunxi.c
parent6abab2d4bec982bcefbe99201ddee5f25227daf4 (diff)
downloadlinux-5ca3353bcee929c3b7bbf39f79038842f443f01a.tar.xz
pinctrl: establish pull-up/pull-down terminology
It is counter-intuitive to have "0" mean disable in a boolean manner for electronic properties of pins such as pull-up and pull-down. Therefore, define that a pull-up/pull-down argument of 0 to such a generic option means that the pin is short-circuited to VDD or GROUND. Pull disablement shall be done using PIN_CONFIG_BIAS_DISABLE. Cc: James Hogan <james.hogan@imgtec.com> Cc: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Acked-by Heiko Stuebner <heiko@sntech.de> Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/pinctrl/pinctrl-sunxi.c')
0 files changed, 0 insertions, 0 deletions