]> asedeno.scripts.mit.edu Git - linux.git/commit
greybus: uart: Handle CRTSCTS flag in termios
authorAxel Haslam <ahaslam@baylibre.com>
Tue, 31 May 2016 12:36:08 +0000 (14:36 +0200)
committerGreg Kroah-Hartman <gregkh@google.com>
Wed, 1 Jun 2016 00:18:18 +0000 (17:18 -0700)
commite55c25206d5c99b12443eec37b4832d6817170ba
treeba7883cb7e9c75e45cc002958326a59413db8872
parent12823178332216daa76512d256dbdacb5ba76ea7
greybus: uart: Handle CRTSCTS flag in termios

Handle the CRTSCTS flag in set_termios, so that auto
flow control can be turned off. For this, add a new flag
in the line coding request specifically for this purpose.

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/greybus_protocols.h
drivers/staging/greybus/uart.c