From 82f7fd745715c647685b9a7758d0f66ed6bf345a Mon Sep 17 00:00:00 2001
From: Martin Schiller <ms@dev.tdt.de>
Date: Mon, 29 May 2017 06:17:07 +0200
Subject: [PATCH] lantiq: pinctrl: xway: fix copy/paste error in xrx200_grps

Signed-off-by: Martin Schiller <ms@dev.tdt.de>
---
 ...lantiq-introduce-new-dedicated-devicetree-bi.patch |  2 +-
 ...trl-xway-fix-copy-paste-error-in-xrx200_grps.patch | 11 +++++++++++
 2 files changed, 12 insertions(+), 1 deletion(-)
 create mode 100644 target/linux/lantiq/patches-4.9/0044-pinctrl-xway-fix-copy-paste-error-in-xrx200_grps.patch

diff --git a/target/linux/lantiq/patches-4.4/0044-pinctrl-lantiq-introduce-new-dedicated-devicetree-bi.patch b/target/linux/lantiq/patches-4.4/0044-pinctrl-lantiq-introduce-new-dedicated-devicetree-bi.patch
index b27cb0b40e..0ac167d070 100644
--- a/target/linux/lantiq/patches-4.4/0044-pinctrl-lantiq-introduce-new-dedicated-devicetree-bi.patch
+++ b/target/linux/lantiq/patches-4.4/0044-pinctrl-lantiq-introduce-new-dedicated-devicetree-bi.patch
@@ -959,7 +959,7 @@ Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
 +	GRP_MUX("spi_cs5", SPI, xrx200_pins_spi_cs5),
 +	GRP_MUX("spi_cs6", SPI, xrx200_pins_spi_cs6),
 +	GRP_MUX("usif uart_rx", USIF, xrx200_pins_usif_uart_rx),
-+	GRP_MUX("usif uart_rx", USIF, xrx200_pins_usif_uart_tx),
++	GRP_MUX("usif uart_tx", USIF, xrx200_pins_usif_uart_tx),
 +	GRP_MUX("usif uart_rts", USIF, xrx200_pins_usif_uart_rts),
 +	GRP_MUX("usif uart_cts", USIF, xrx200_pins_usif_uart_cts),
 +	GRP_MUX("usif uart_dtr", USIF, xrx200_pins_usif_uart_dtr),
diff --git a/target/linux/lantiq/patches-4.9/0044-pinctrl-xway-fix-copy-paste-error-in-xrx200_grps.patch b/target/linux/lantiq/patches-4.9/0044-pinctrl-xway-fix-copy-paste-error-in-xrx200_grps.patch
new file mode 100644
index 0000000000..a2fc9d955d
--- /dev/null
+++ b/target/linux/lantiq/patches-4.9/0044-pinctrl-xway-fix-copy-paste-error-in-xrx200_grps.patch
@@ -0,0 +1,11 @@
+--- a/drivers/pinctrl/pinctrl-xway.c
++++ b/drivers/pinctrl/pinctrl-xway.c
+@@ -1028,7 +1028,7 @@ static const struct ltq_pin_group xrx200
+ 	GRP_MUX("spi_cs5", SPI, xrx200_pins_spi_cs5),
+ 	GRP_MUX("spi_cs6", SPI, xrx200_pins_spi_cs6),
+ 	GRP_MUX("usif uart_rx", USIF, xrx200_pins_usif_uart_rx),
+-	GRP_MUX("usif uart_rx", USIF, xrx200_pins_usif_uart_tx),
++	GRP_MUX("usif uart_tx", USIF, xrx200_pins_usif_uart_tx),
+ 	GRP_MUX("usif uart_rts", USIF, xrx200_pins_usif_uart_rts),
+ 	GRP_MUX("usif uart_cts", USIF, xrx200_pins_usif_uart_cts),
+ 	GRP_MUX("usif uart_dtr", USIF, xrx200_pins_usif_uart_dtr),
-- 
2.30.2