]> asedeno.scripts.mit.edu Git - linux.git/commit
USB: serial: pl2303: add support for tx xon/xoff flow control
authorFlorian Zumbiehl <florz@florz.de>
Sun, 20 May 2018 00:23:12 +0000 (02:23 +0200)
committerJohan Hovold <johan@kernel.org>
Tue, 22 May 2018 08:08:05 +0000 (10:08 +0200)
commit7041d9c3f01b365daa50340a5d2dce84a09ea813
tree439804d40c9b17948675344eb1b38d7ecac8a5f3
parent7b0c6b38c4f9f9736ccd41363b3cfd7143e1f823
USB: serial: pl2303: add support for tx xon/xoff flow control

Support hardware-level Xon/Xoff flow control in transmit direction with
pl2303.

I only know how to get the hardware to do IXON/!IXANY with ^S/^Q as control
characters, so I preserve the old behaviour for all other cases.

Signed-off-by: Florian Zumbiehl <florz@florz.de>
[ johan: rewrite logic using pl2303_termios_change() helper ]
Signed-off-by: Johan Hovold <johan@kernel.org>
drivers/usb/serial/pl2303.c