SERIAL: Lantiq: Set timeout in uart_port
Subsystems (2)
PATCH 1/1 SERIAL: Lantiq: Set timeout in uart_port
From: John Crispin <[email protected]>
Without this patch apps using readline hang.
Signed-off-by Thomas Langer <[email protected]>
Signed-off-by John Crispin <[email protected]>
---
No replies when John Crispin first posted this patch. He's on vacation so I'm reposting hoping for an ack. I'd prefer to merge this through the MIPS tree along with other lantiq fixes -- thanks.
drivers/tty/serial/lantiq.c | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-)
drivers/tty/serial/lantiq.c +3 -1
@@ -478,8 +478,10 @@ lqasc_set_termios(struct uart_port *port,spin_unlock_irqrestore (<q_asc_lock, flags);/* Don't rewrite B0 */ -if (tty_termios_baud_rate (new)) +if (tty_termios_baud_rate (new))tty_termios_encode_baud_rate (new, baud, baud); + +uart_update_timeout (port, cflag, baud); } static const char*
Signature · 1 line
1.7.2.3
Quoted 6 lines · On Wed, 3 Aug 2011 15:37:24 +0100 Ralf Baechle <[email protected]> wrote:
From: John Crispin <[email protected]>
Without this patch apps using readline hang.
Signed-off-by Thomas Langer <[email protected]>Signed-off-by John Crispin <[email protected]>
Signed-off-by Alan Cox <[email protected]>