]> err.no Git - linux-2.6/commit
cpm1: don't send break on TX_STOP, don't interrupt RX/TX when adjusting termios param...
authorNye Liu <nyet@mrv.com>
Thu, 24 Jul 2008 04:29:50 +0000 (21:29 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 24 Jul 2008 17:47:30 +0000 (10:47 -0700)
commitae2d4c396e19f45918ed6e0900b031538d009823
tree809061b816c0ef3a724df8c7369632fb2dda58cd
parente9a8f4d1de12633bfb71b5fee47745b32877b7b5
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>
drivers/serial/cpm_uart/cpm_uart_core.c