aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation
diff options
context:
space:
mode:
authorJanusz Uzycki <j.uzycki@elproma.com.pl>2014-10-10 18:53:24 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-11-06 14:57:18 -0800
commit42b4eba0612f87632a3e4d58c03f00e108e05dbc (patch)
tree376f97d9f6d5bf7703f0a35e6311a0a2722a69c1 /Documentation
parenttty/serial: at91: fix rx ring buffer management (diff)
downloadlinux-dev-42b4eba0612f87632a3e4d58c03f00e108e05dbc.tar.xz
linux-dev-42b4eba0612f87632a3e4d58c03f00e108e05dbc.zip
serial: mxs-auart: clean get_mctrl and set_mctrl
Russell King: The only thing which the .get_mctrl method is supposed to do is to return the state of the /input/ lines, which are CTS, DCD, DSR, RI. The output line state is stored in port->mctrl, and is added to the returned value by serial_core when it's required. RTS output state should not be returned from the .get_mctrl method. This patch removes ctrl variable from mxs_auart_port and removes useless reading back RTS line. The ctrl variable in mxs_auart_port duplicated mctrl, member of uart_port structure in serial_core.h. The removed code from mxs_auart_set_mctrl() and mxs_auart_get_mctrl duplicated uart_update_mctrl() and uart_tiocmget() in serial_core.c. Signed-off-by: Janusz Uzycki <j.uzycki@elproma.com.pl> Reviewed-by: Richard Genoud <richard.genoud@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions