serial: samsung: add support for manual RTS setting
authorJosé Miguel Gonçalves <jose.goncalves@inov.pt>
Wed, 18 Sep 2013 15:52:49 +0000 (16:52 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 26 Sep 2013 22:41:38 +0000 (15:41 -0700)
commit2d1e5a48965be57eefce033894d9795672f6ab63
treea57d34b67852312525d0e7e2329118c17fe1a14d
parent4190390ad282e5f69bdb02af094c09787f34ca38
serial: samsung: add support for manual RTS setting

The Samsung serial driver currently does not support setting the
RTS pin with an ioctl(TIOCMSET) call. This patch adds this support.

Changes in v2:
 - Preserve the RTS pin's manual setting  in set_termios() also when
   enabling CRTSCTS.

Signed-off-by: José Miguel Gonçalves <jose.goncalves@inov.pt>
Reviewed-by: Tomasz Figa <t.figa@samsung.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/samsung.c