]> git.baikalelectronics.ru Git - kernel.git/commit
pinctrl: aspeed: Fix GPI only function problem.
authorBilly Tsai <billy_tsai@aspeedtech.com>
Fri, 30 Oct 2020 05:54:50 +0000 (13:54 +0800)
committerLinus Walleij <linus.walleij@linaro.org>
Thu, 5 Nov 2020 14:32:58 +0000 (15:32 +0100)
commit232f07c952dad6cdee79021331f1b369d096cd26
treead80ead184beb00d167ad6deb7f908938355d347
parent9eda03dbc17d1058638529ce620ec75b6c2baff3
pinctrl: aspeed: Fix GPI only function problem.

Some gpio pin at aspeed soc is input only and the prefix name of these
pin is "GPI" only.
This patch fine-tune the condition of GPIO check from "GPIO" to "GPI"
and it will fix the usage error of banks D and E in the AST2400/AST2500
and banks T and U in the AST2600.

Fixes: 226ed3b8badd ("pinctrl: Add core support for Aspeed SoCs")
Signed-off-by: Billy Tsai <billy_tsai@aspeedtech.com>
Reviewed-by: Andrew Jeffery <andrew@aj.id.au>
Link: https://lore.kernel.org/r/20201030055450.29613-1-billy_tsai@aspeedtech.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/aspeed/pinctrl-aspeed.c