summaryrefslogtreecommitdiffstats
path: root/drivers/tty/serial/serial_mctrl_gpio.h
diff options
context:
space:
mode:
authorYegor Yefremov <yegorslists@googlemail.com>2016-05-31 10:59:15 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-06-25 14:30:42 -0700
commit36fd95b17e9c1c41836632d95f2be5cff93b3df8 (patch)
tree198fd2b26bf044567d47677b7d35a3da907f30cd /drivers/tty/serial/serial_mctrl_gpio.h
parent692aa1905679bd72f84115986235d214f6096a98 (diff)
downloadlinux-36fd95b17e9c1c41836632d95f2be5cff93b3df8.tar.gz
linux-36fd95b17e9c1c41836632d95f2be5cff93b3df8.tar.bz2
linux-36fd95b17e9c1c41836632d95f2be5cff93b3df8.zip
tty/serial/8250: make UART_MCR register access consistent
Introduce serial8250_out_MCR() and serial8250_in_MCR() routines, that replace following calls: serial_out(port, UART_MCR, val) serial_port_out(up, UART_MCR, val) serial_in(port, UART_MCR) This patch is needed in order to integrate reading/writing of MCR signals via SERIAL_MCTRL_GPIO infrastructure later. Reviewed-by: Peter Hurley <peter@hurleysoftware.com> Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/serial/serial_mctrl_gpio.h')
0 files changed, 0 insertions, 0 deletions