lkml.org 
[lkml]   [2020]   [Apr]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [PATCH] serial: uartps: Wait for tx_empty in console setup
Hi ,
On Tue, Apr 7, 2020 at 10:25 PM Raviteja Narayanam
<raviteja.narayanam@xilinx.com> wrote:
>
> On some platforms, the log is corrupted while console is being
> registered. It is observed that when set_termios is called, there
> are still some bytes in the FIFO to be transmitted.
>
> So, wait for tx_empty inside cdns_uart_console_setup before
> calling set_termios.
>
Reviewed-by: Shubhrajyoti Datta <shubhrajyoti.datta@xilinx.com>

\
 
 \ /
  Last update: 2020-04-08 09:15    [W:0.104 / U:0.200 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site