aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/imx6/patches-4.4/111-serial-imx-fix-polarity-of-RI.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@nbd.name>2017-02-01 10:18:11 +0100
committerFelix Fietkau <nbd@nbd.name>2017-05-02 15:17:30 +0200
commit60081f9a0072c2a5caecea617e84a9d2001f7f07 (patch)
tree824a3e907af76c5e1ed451525be23c6389627979 /target/linux/imx6/patches-4.4/111-serial-imx-fix-polarity-of-RI.patch
parent491abe8c998381983caa3e411bcef5117e5cfbbb (diff)
downloadupstream-60081f9a0072c2a5caecea617e84a9d2001f7f07.tar.gz
upstream-60081f9a0072c2a5caecea617e84a9d2001f7f07.tar.bz2
upstream-60081f9a0072c2a5caecea617e84a9d2001f7f07.zip
imx6: remove linux 4.4 support
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'target/linux/imx6/patches-4.4/111-serial-imx-fix-polarity-of-RI.patch')
-rw-r--r--target/linux/imx6/patches-4.4/111-serial-imx-fix-polarity-of-RI.patch33
1 files changed, 0 insertions, 33 deletions
diff --git a/target/linux/imx6/patches-4.4/111-serial-imx-fix-polarity-of-RI.patch b/target/linux/imx6/patches-4.4/111-serial-imx-fix-polarity-of-RI.patch
deleted file mode 100644
index 0288298163..0000000000
--- a/target/linux/imx6/patches-4.4/111-serial-imx-fix-polarity-of-RI.patch
+++ /dev/null
@@ -1,33 +0,0 @@
-From 9a061cea4477f26a1dfcc0a08dc20575016e91df Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Uwe=20Kleine-K=C3=B6nig?= <u.kleine-koenig@pengutronix.de>
-Date: Thu, 24 Mar 2016 14:24:20 +0100
-Subject: [PATCH 1/3] serial: imx: fix polarity of RI
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
-When in DTE mode, the bit USR2_RIIN is active low. So invert the logic
-accordingly.
-
-Fixes: 90ebc4838666 ("serial: imx: repair and complete handshaking")
-Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
-Signed-off-by: Petr Štetiar <ynezz@true.cz>
----
- drivers/tty/serial/imx.c | 6 +++---
- 1 file changed, 3 insertions(+), 3 deletions(-)
-
---- a/drivers/tty/serial/imx.c
-+++ b/drivers/tty/serial/imx.c
-@@ -817,9 +817,9 @@ static unsigned int imx_get_mctrl(struct
- if (!(usr1 & USR2_DCDIN))
- tmp |= TIOCM_CAR;
-
-- /* in DCE mode RIIN is always 0 */
-- if (readl(sport->port.membase + USR2) & USR2_RIIN)
-- tmp |= TIOCM_RI;
-+ if (sport->dte_mode)
-+ if (!(readl(sport->port.membase + USR2) & USR2_RIIN))
-+ tmp |= TIOCM_RI;
-
- return tmp;
- }