pinctrl: at91: disable PD or PU before enabling PU or PD
authorWenyou Yang <wenyou.yang@atmel.com>
Thu, 11 Sep 2014 14:40:15 +0000 (16:40 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Tue, 23 Sep 2014 14:59:55 +0000 (16:59 +0200)
commit3d78427397daea47b5a38642f46f75ef993de571
treecec67819ee95331748d6c128ee78565511a42a76
parent7471725f618b95d2a61a4bf789dbdc5c7805ffa9
pinctrl: at91: disable PD or PU before enabling PU or PD

Disable Pull-Down or Pull-Up property before enabling Pull-Up or
Pull-Down, because the pin's Pull-Up and Pull-Down property is
mutually exclusive.

Signed-off-by: Wenyou Yang <wenyou.yang@atmel.com>
Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/pinctrl-at91.c