]> git.dujemihanovic.xyz Git - u-boot.git/commit
pinctrl: k210: Fix bias-pull-up
authorNiklas Cassel <niklas.cassel@wdc.com>
Tue, 1 Mar 2022 10:35:45 +0000 (10:35 +0000)
committerLeo Yu-Chi Liang <ycliang@andestech.com>
Tue, 15 Mar 2022 09:43:11 +0000 (17:43 +0800)
commitaa34e13346cf727197981c599f688b406005049a
tree43cab810cd7d438c54747fbebc39b1dfe2762a26
parentdaaf18267f31857df92e83d51a9876742061b495
pinctrl: k210: Fix bias-pull-up

Using bias-pull-up would actually cause the pin to have its pull-down
enabled. Fix this.

Original Linux patch by Sean Anderson:
https://lore.kernel.org/linux-gpio/20220209182822.640905-1-seanga2@gmail.com/

Fixes: 7224d5ccf8e1 ("pinctrl: Add support for Kendryte K210 FPIOA")
Signed-off-by: Niklas Cassel <niklas.cassel@wdc.com>
Reviewed-by: Sean Anderson <seanga2@gmail.com>
drivers/pinctrl/pinctrl-k210.c