From: Jiri Slaby Date: Tue, 29 Mar 2011 22:10:56 +0000 (+0200) Subject: serial: core, do not set DTR/RTS twice on startup X-Git-Tag: v3.0-rc1~338^2~29 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=303a7a1199c20f7c9452f024a6e17bf348b6b398;p=pandora-kernel.git 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 Cc: Alan Cox Cc: Arnd Bergmann Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed