pinctrl: sunxi: fix uart1 CTS/RTS pins at PG on A23/A33
authorIcenowy Zheng <icenowy@aosc.xyz>
Tue, 23 Aug 2016 05:58:25 +0000 (13:58 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 24 Sep 2016 08:07:41 +0000 (10:07 +0200)
commitc16cfc6688ac17ec78f018ea43345bc9f85dd70a
treeffdc97438961f992790f1f51ec740980eef62149
parent936a93809184e9297e723fb8e5cb5a8f771b0a17
pinctrl: sunxi: fix uart1 CTS/RTS pins at PG on A23/A33

commit 486095fae3a8a6b1ae07c51844699d9bd5cfbebc upstream.

PG8, PG9 is said to be the CTS/RTS pins for UART1 according to the A23/33
datasheets. However, the function is wrongly named "uart2" in the pinctrl
driver. This patch fixes this by modifying them to be named "uart1".

Signed-off-by: Icenowy Zheng <icenowy@aosc.xyz>
Acked-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/pinctrl/sunxi/pinctrl-sun8i-a23.c
drivers/pinctrl/sunxi/pinctrl-sun8i-a33.c