serial: mctrl_gpio: add modem control read routine
authorYegor Yefremov <yegorslists@googlemail.com>
Tue, 31 May 2016 08:59:16 +0000 (10:59 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 25 Jun 2016 21:30:42 +0000 (14:30 -0700)
commitbf5cee681e57babde5358a71e59b75151eb02c1a
tree90642ffa447c90c08f2f3719825b21d4c9a2572d
parent36fd95b17e9c1c41836632d95f2be5cff93b3df8
serial: mctrl_gpio: add modem control read routine

mctrl_gpio_get_outputs() returns the state of following signals:

RTS, DTR

While defining the routine for reading outputs, fix the comment for
mctrl_gpio_get() routine as it returns only the state of the input
signals.

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/serial_mctrl_gpio.c
drivers/tty/serial/serial_mctrl_gpio.h