* [PATCH] SERIAL: Lantiq: Set timeout in uart_port
@ 2011-08-03 14:37 Ralf Baechle
2011-08-03 15:10 ` Alan Cox
0 siblings, 1 reply; 2+ messages in thread
From: Ralf Baechle @ 2011-08-03 14:37 UTC (permalink / raw)
To: Alan Cox, linux-serial; +Cc: John Crispin, Thomas Langer, linux-mips
From: John Crispin <blogic@openwrt.org>
Without this patch apps using readline hang.
Signed-off-by: Thomas Langer <thomas.langer@lantiq.com>
Signed-off-by: John Crispin <blogic@openwrt.org>
Cc: linux-mips@linux-mips.org
Cc: linux-serial@vger.kernel.org
---
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(-)
diff --git a/drivers/tty/serial/lantiq.c b/drivers/tty/serial/lantiq.c
index 58cf279..bc95f52 100644
--- a/drivers/tty/serial/lantiq.c
+++ b/drivers/tty/serial/lantiq.c
@@ -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*
--
1.7.2.3
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] SERIAL: Lantiq: Set timeout in uart_port
2011-08-03 14:37 [PATCH] SERIAL: Lantiq: Set timeout in uart_port Ralf Baechle
@ 2011-08-03 15:10 ` Alan Cox
0 siblings, 0 replies; 2+ messages in thread
From: Alan Cox @ 2011-08-03 15:10 UTC (permalink / raw)
To: Ralf Baechle; +Cc: linux-serial, linux-mips, greg
On Wed, 3 Aug 2011 15:37:24 +0100
Ralf Baechle <ralf@linux-mips.org> wrote:
> From: John Crispin <blogic@openwrt.org>
>
> Without this patch apps using readline hang.
>
> Signed-off-by: Thomas Langer <thomas.langer@lantiq.com>
> Signed-off-by: John Crispin <blogic@openwrt.org>
Signed-off-by: Alan Cox <alan@linux.intel.com>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-08-03 15:07 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-08-03 14:37 [PATCH] SERIAL: Lantiq: Set timeout in uart_port Ralf Baechle
2011-08-03 15:10 ` Alan Cox
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox