pinctrl: k210: Fix bias-pull-up
authorSean Anderson <seanga2@gmail.com>
Wed, 9 Feb 2022 18:28:22 +0000 (13:28 -0500)
committerLinus Walleij <linus.walleij@linaro.org>
Fri, 11 Feb 2022 01:19:47 +0000 (02:19 +0100)
commite9f7b9228a94778edb7a63fde3c0a3c5bb793064
tree9e7de5c7023ba1f068fa87e34d5249322c206332
parentba2ab85951c91a140a8fa51d8347d54e59ec009d
pinctrl: k210: Fix bias-pull-up

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

Signed-off-by: Sean Anderson <seanga2@gmail.com>
Reviewed-by: Damien Le Moal <damien.lemoal@opensource.wdc.com>
Fixes: d4c34d09ab03 ("pinctrl: Add RISC-V Canaan Kendryte K210 FPIOA driver")
Link: https://lore.kernel.org/r/20220209182822.640905-1-seanga2@gmail.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/pinctrl-k210.c