Re: [RFC PATCH] tty: serial: msm_serial: Don't reset uart on set_termios
From: Pramod Gurav <hidden>
Date: 2016-06-15 12:58:22
Also in:
linux-arm-msm, lkml
From: Pramod Gurav <hidden>
Date: 2016-06-15 12:58:22
Also in:
linux-arm-msm, lkml
On 14 June 2016 at 00:32, Bjorn Andersson [off-list ref] wrote:
Upon opening the tty, uart_open() ends up calling msm_set_baud_rate() which resets the uart block. If this happens as we're coming out of msm_console_write() a full fifo worth of console output will be discarded. Cc: Stephen Boyd <redacted> Signed-off-by: Bjorn Andersson <redacted> --- As reported here: https://bugs.96boards.org/show_bug.cgi?id=378 drivers/tty/serial/msm_serial.c | 18 ------------------ 1 file changed, 18 deletions(-)
Thanks for the patch. I no longer see these corruptions with this patch. This is what I used to see on my DB410C with debain FS: http://paste.ubuntu.com/17319106/ Tested-by: Pramod Gurav <redacted> Regards, Pramod