Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b7867f1b authored by John Crispin's avatar John Crispin Committed by Ralf Baechle
Browse files

SERIAL: Lantiq: Set timeout in uart_port



Without this patch apps using readline hang.

Signed-off-by: default avatarThomas Langer <thomas.langer@lantiq.com>
Signed-off-by: default avatarJohn Crispin <blogic@openwrt.org>
Cc: linux-mips@linux-mips.org
Cc: linux-serial@vger.kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/2687/


Signed-off-by: default avatarAlan Cox <alan@linux.intel.com>
Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
parent 05969546
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -480,6 +480,8 @@ lqasc_set_termios(struct uart_port *port,
	/* Don't rewrite B0 */
	if (tty_termios_baud_rate(new))
		tty_termios_encode_baud_rate(new, baud, baud);

	uart_update_timeout(port, cflag, baud);
}

static const char*