aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/patches-5.4/0051-serial-add-ugly-custom-baud-rate-hack.patch
diff options
context:
space:
mode:
authorRui Salvaterra <rsalvaterra@gmail.com>2021-12-14 13:46:19 +0000
committerRui Salvaterra <rsalvaterra@gmail.com>2021-12-15 09:40:03 +0000
commitc7727833945deb70eed7520ab44fa08b0870b8a7 (patch)
tree193f5b25a9b5c0dd29dbbf252f9532b7784f52ed /target/linux/ramips/patches-5.4/0051-serial-add-ugly-custom-baud-rate-hack.patch
parent07452a680b571815edadc50fbe9c83311201bac7 (diff)
downloadupstream-c7727833945deb70eed7520ab44fa08b0870b8a7.tar.gz
upstream-c7727833945deb70eed7520ab44fa08b0870b8a7.tar.bz2
upstream-c7727833945deb70eed7520ab44fa08b0870b8a7.zip
ramips: remove Linux 5.4 support
We're at 5.10 stable, this can finally go. Signed-off-by: Rui Salvaterra <rsalvaterra@gmail.com>
Diffstat (limited to 'target/linux/ramips/patches-5.4/0051-serial-add-ugly-custom-baud-rate-hack.patch')
-rw-r--r--target/linux/ramips/patches-5.4/0051-serial-add-ugly-custom-baud-rate-hack.patch22
1 files changed, 0 insertions, 22 deletions
diff --git a/target/linux/ramips/patches-5.4/0051-serial-add-ugly-custom-baud-rate-hack.patch b/target/linux/ramips/patches-5.4/0051-serial-add-ugly-custom-baud-rate-hack.patch
deleted file mode 100644
index 7192d61323..0000000000
--- a/target/linux/ramips/patches-5.4/0051-serial-add-ugly-custom-baud-rate-hack.patch
+++ /dev/null
@@ -1,22 +0,0 @@
-From a7eb46e0ea4a11e4dfb56ab129bf816d1059a6c5 Mon Sep 17 00:00:00 2001
-From: John Crispin <blogic@openwrt.org>
-Date: Mon, 7 Dec 2015 17:31:08 +0100
-Subject: [PATCH 51/53] serial: add ugly custom baud rate hack
-
-Signed-off-by: John Crispin <blogic@openwrt.org>
----
- drivers/tty/serial/serial_core.c | 3 +++
- 1 file changed, 3 insertions(+)
-
---- a/drivers/tty/serial/serial_core.c
-+++ b/drivers/tty/serial/serial_core.c
-@@ -423,6 +423,9 @@ uart_get_baud_rate(struct uart_port *por
- break;
- }
-
-+ if (tty_termios_baud_rate(termios) == 2500000)
-+ return 250000;
-+
- for (try = 0; try < 2; try++) {
- baud = tty_termios_baud_rate(termios);
-