Hi , On Tue, Apr 7, 2020 at 10:25 PM Raviteja Narayanam <raviteja.narayanam@xxxxxxxxxx> 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@xxxxxxxxxx>