diff options
author | Daniel Golle <daniel@makrotopia.org> | 2019-04-11 19:19:49 +0200 |
---|---|---|
committer | Daniel Golle <daniel@makrotopia.org> | 2019-04-11 19:21:55 +0200 |
commit | b6acb7b718e3bf47f8dfa615345120aad0930bad (patch) | |
tree | 9fc2099a4d5b1941a54b49691d86a99525651df3 /target/linux | |
parent | 44ae5f37fb705b7023a387b650151df09c089e6a (diff) | |
download | upstream-b6acb7b718e3bf47f8dfa615345120aad0930bad.tar.gz upstream-b6acb7b718e3bf47f8dfa615345120aad0930bad.tar.bz2 upstream-b6acb7b718e3bf47f8dfa615345120aad0930bad.zip |
kernel: move and replace accepted patch
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Diffstat (limited to 'target/linux')
-rw-r--r-- | target/linux/generic/backport-4.14/950-tty-serial-exar-generalize-rs485-setup.patch (renamed from target/linux/generic/pending-4.14/950-tty-serial-exar-generalize-rs485-setup.patch) | 23 |
1 files changed, 11 insertions, 12 deletions
diff --git a/target/linux/generic/pending-4.14/950-tty-serial-exar-generalize-rs485-setup.patch b/target/linux/generic/backport-4.14/950-tty-serial-exar-generalize-rs485-setup.patch index 869bf7b9b2..42c4705e51 100644 --- a/target/linux/generic/pending-4.14/950-tty-serial-exar-generalize-rs485-setup.patch +++ b/target/linux/generic/backport-4.14/950-tty-serial-exar-generalize-rs485-setup.patch @@ -1,19 +1,18 @@ -From 24d5ba8ad40c3ac7903f688580c345aafa764dc7 Mon Sep 17 00:00:00 2001 +From 9d9398944488cd3a3e1e0912b26fbc4d5921e547 Mon Sep 17 00:00:00 2001 From: Daniel Golle <daniel@makrotopia.org> -Date: Mon, 4 Jun 2018 14:51:29 +0200 -Subject: [PATCH] tty: serial: exar: generalize rs485 setup -To: linux-serial@vger.kernel.org, - Greg Kroah-Hartman <gregkh@linuxfoundation.org> -Cc: Linus Walleij <linus.walleij@linaro.org>, - Jan Kiszka <jan.kiszka@siemens.com> +Date: Mon, 4 Jun 2018 23:33:07 +0200 +Subject: [PATCH] tty: serial: exar: generalize RS485 setup -Move the non-board-specific part of the RS485 initialization -from iot2040_rs485_config function to a new generic function -used also for other boards. -This allows using PCIe boards which are hard-wired to RS485 -or have jumpers for their configurations. +Move the non-board-specific part of the RS485 initialization from +iot2040_rs485_config function to a new generic function used also for +other boards. +This allows using TIOCGRS485 and TIOCSRS485 on boards (such as mPCIe +serial IO modules) which are hard-wired to RS485 or have jumpers for +their configurations. Signed-off-by: Daniel Golle <daniel@makrotopia.org> +Reviewed-by: Jan Kiszka <jan.kiszka@siemens.com> +Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> --- drivers/tty/serial/8250/8250_exar.c | 38 +++++++++++++++++++---------- 1 file changed, 25 insertions(+), 13 deletions(-) |