Skip to contentSkip to conversation

USB: serial: pl2303: fix non-supported xon/xoff

PATCH New Greg KH 1 participant 1 message Apr 2, 2019 USB

lore
Share & tools
lore

Greg KH

author
#0 lore raw

PATCH 1/2 USB: serial: pl2303: fix non-supported xon/xoff

Quoted 10 lines · Johan Hovold

Older pl2303 devices do not support automatic xon/xoff flow control, so add add a flag to prevent trying to enable it for legacy device types.

Refactor the IXON test into a helper function to improve readability.

Fixes 7041d9c3f01b ("USB: serial: pl2303: add support for tx xon/xoff flow control")
---
 drivers/usb/serial/pl2303.c | 25 ++++++++++++++++++++-----
 1 file changed, 20 insertions(+), 5 deletions(-)