tty: serial: Fix termios/port flags mismatch
authorPeter Hurley <peter@hurleysoftware.com>
Mon, 16 Jun 2014 13:17:09 +0000 (09:17 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 10 Jul 2014 23:07:46 +0000 (16:07 -0700)
commitc18b55fd1717a4c08c9f3555be63da142767e6b8
tree032503380052ca7646935f75b7415563b7e3797f
parent7c6d340f4f0e889b134fd72f203519f591feef9d
tty: serial: Fix termios/port flags mismatch

Uart port drivers may reconfigure termios settings based on available
hardware support; set/clear ASYNC_CTS_FLOW and ASYNC_CHECK_CD _after_
calling the port driver's .set_termios method.

Signed-off-by: Peter Hurley <peter@hurleysoftware.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/serial_core.c