]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit1276bdda6f0a6cc74a6029ad124700997d5fc359
treecec67819ee95331748d6c128ee78565511a42a76
parent9fc9f3b8b5e54c59e1f69836821fc9742a2e4d21
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