2015-10-19 10:07:43 +00:00
|
|
|
--- a/drivers/tty/serial/serial_core.c
|
|
|
|
+++ b/drivers/tty/serial/serial_core.c
|
2015-11-01 13:45:57 +00:00
|
|
|
@@ -356,6 +356,9 @@ uart_get_baud_rate(struct uart_port *por
|
2015-10-19 10:07:43 +00:00
|
|
|
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);
|
|
|
|
|