55a912f43e
Changelog: * https://cdn.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.18.22 * https://cdn.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.18.23 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 47334
12 lines
343 B
Diff
12 lines
343 B
Diff
--- a/drivers/tty/serial/serial_core.c
|
|
+++ b/drivers/tty/serial/serial_core.c
|
|
@@ -356,6 +356,9 @@ uart_get_baud_rate(struct uart_port *por
|
|
else if (flags == UPF_SPD_WARP)
|
|
altbaud = 460800;
|
|
|
|
+ if (tty_termios_baud_rate(termios) == 2500000)
|
|
+ return 250000;
|
|
+
|
|
for (try = 0; try < 2; try++) {
|
|
baud = tty_termios_baud_rate(termios);
|
|
|