Skip to content
Commit 68270dab authored by Johan Hovold's avatar Johan Hovold
Browse files

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



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: 7041d9c3 ("USB: serial: pl2303: add support for tx xon/xoff flow control")
Reviewed-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: default avatarJohan Hovold <johan@kernel.org>
parent 79a3aaa7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment