greybus: uart: Implement dtr_rts callback.
authorAxel Haslam <ahaslam@baylibre.com>
Tue, 31 May 2016 12:36:09 +0000 (14:36 +0200)
committerGreg Kroah-Hartman <gregkh@google.com>
Wed, 1 Jun 2016 00:18:18 +0000 (17:18 -0700)
commit219ffcf3a51d0e0d8464d42db01e1e745a0d690f
tree02aaae512390c77dc3e193b17361493798fb91d6
parente55c25206d5c99b12443eec37b4832d6817170ba
greybus: uart: Implement dtr_rts callback.

Dtr_dts allows the tty layer to set the flow control lines
to the correct state during open and close.

Note that locking for newctrl is missing throughout the
driver and will be addressed on a separate patch.

Suggested-and-reviewed-by: Johan Hovold <johan@hovoldconsulting.com>
Signed-off-by: Axel Haslam <ahaslam@baylibre.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
drivers/staging/greybus/uart.c