Skip to contentSkip to conversation

USB: serial: pl2303: fix xon/xoff flow control

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Apr 19, 2019 USB

lore
Share & tools
lore

Greg Kroah-Hartman

author maintainer Reviewed-by
#0 lore raw
Quoted 6 lines · Johan Hovold

Fix the XON/XOFF flow-control implementation by reporting back the attributes actually supported while ignoring the rest.

Note that only outgoing XON/XOFF flow control (IXON) is currently supported for PL2303HX, and only using the default start and stop chars.

Quoted 6 lines
Fixes 68270dab9710 ("USB: serial: pl2303: fix non-supported xon/xoff")
Fixes 7041d9c3f01b ("USB: serial: pl2303: add support for tx xon/xoff flow control")
---
 drivers/usb/serial/pl2303.c | 29 +++++++++++------------------
 1 file changed, 11 insertions(+), 18 deletions(-)