serial: uartps: Remove unconditional wait inside set_termios
authorRaviteja Narayanam <raviteja.narayanam@xilinx.com>
Thu, 19 Mar 2020 09:44:50 +0000 (15:14 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 24 Mar 2020 11:23:03 +0000 (12:23 +0100)
commit97451855cc3bb9ab0c222a44a66f068278ff6ccb
tree60c060ad7896ed9a66a716a27a6e90d7c766564e
parentcbf580ff093861f021b31b2f8d0f03173fb58520
serial: uartps: Remove unconditional wait inside set_termios

set_termios function should not wait for the transmit FIFO empty
(CDNS_UART_SR_TXEMPTY) unconditionally. The tty layer takes care
of it based on the parameter passed (TCSANOW/TCSADRAIN/TCSAFLUSH).

Signed-off-by: Raviteja Narayanam <raviteja.narayanam@xilinx.com>
Signed-off-by: Shubhrajyoti Datta <shubhrajyoti.datta@xilinx.com>
Link: https://lore.kernel.org/r/536e190dd5bbb474007a67e6323c048288942a28.1584610774.git.shubhrajyoti.datta@xilinx.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/xilinx_uartps.c