]> Pileus Git - ~andy/linux/commit
pinctrl: rockchip: correctly handle arguments of pinconf options
authorHeiko Stübner <heiko@sntech.de>
Sun, 16 Jun 2013 15:41:16 +0000 (17:41 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 17 Jun 2013 16:18:34 +0000 (18:18 +0200)
commit44b6d93043ab6775cb8e190a82ae79afd121e944
tree57955b50c5b015e1a17bf77ef2ab44eec83bbec0
parent0f9bc4bcdf4fd8fe768a47e25efdf709192e4de1
pinctrl: rockchip: correctly handle arguments of pinconf options

Change the rockchip pinctrl driver to handle the arguments to the pull
pinconfig options correctly. So only accept non-0 values for the
pull options as the rockchip pin-controller can only turn pulls on and
off (this via BIAS_DISABLE).

Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/pinctrl-rockchip.c