android_kernel_xiaomi_sm8350/drivers/serial/cpm_uart
Nye Liu ae2d4c396e cpm1: don't send break on TX_STOP, don't interrupt RX/TX when adjusting termios parameters
Before setting STOP_TX, set _brkcr to 0 so the SMC does not send a break
character.  The driver appears to properly re-initialize _brkcr when the
SMC is restarted.

Do not interrupt RX/TX when the termios is being adjusted; it results in
corrupted characters appearing on the line.

Cc: Vitaly Bordug <vbordug@ru.mvista.com>
Cc: Scott Wood <scottwood@freescale.com>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Kumar Gala <galak@kernel.crashing.org>
Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2008-07-24 10:47:30 -07:00
..
cpm_uart_core.c cpm1: don't send break on TX_STOP, don't interrupt RX/TX when adjusting termios parameters 2008-07-24 10:47:30 -07:00
cpm_uart_cpm1.c cpm_uart: Remove !CONFIG_PPC_CPM_NEW_BINDING code 2008-06-26 01:49:04 -05:00
cpm_uart_cpm1.h cpm_uart: Remove !CONFIG_PPC_CPM_NEW_BINDING code 2008-06-26 01:49:04 -05:00
cpm_uart_cpm2.c cpm_uart: Remove !CONFIG_PPC_CPM_NEW_BINDING code 2008-06-26 01:49:04 -05:00
cpm_uart_cpm2.h cpm_uart: Remove !CONFIG_PPC_CPM_NEW_BINDING code 2008-06-26 01:49:04 -05:00
cpm_uart.h cpm_uart: Remove !CONFIG_PPC_CPM_NEW_BINDING code 2008-06-26 01:49:04 -05:00
Makefile