summaryrefslogtreecommitdiffstats
path: root/drivers/tty/mxser.c
diff options
context:
space:
mode:
authorJiri Slaby <jslaby@suse.cz>2011-03-30 00:10:56 +0200
committerGreg Kroah-Hartman <gregkh@suse.de>2011-04-20 01:32:20 +0200
commit303a7a1199c20f7c9452f024a6e17bf348b6b398 (patch)
treef3db2311d9156981f4d3d99aaf65b1ef646f887b /drivers/tty/mxser.c
parentserial: core, move termios handling to uart_startup (diff)
downloadlinux-303a7a1199c20f7c9452f024a6e17bf348b6b398.tar.xz
linux-303a7a1199c20f7c9452f024a6e17bf348b6b398.zip
serial: core, do not set DTR/RTS twice on startup
In .dtr_rts we do: uart_set_mctrl(uport, TIOCM_DTR | TIOCM_RTS) and call uart_update_termios. It does: uart_set_mctrl(port, TIOCM_DTR | TIOCM_RTS) once again. As the only callsite of uart_update_termios is .dtr_rts, remove the uart_set_mctrl from uart_update_termios to not set it twice. Signed-off-by: Jiri Slaby <jslaby@suse.cz> Cc: Alan Cox <alan@lxorguk.ukuu.org.uk> Cc: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/tty/mxser.c')
0 files changed, 0 insertions, 0 deletions