On Tue, Apr 02, 2019 at 10:19:30AM +0200, Johan Hovold wrote:
> 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")
> Signed-off-by: Johan Hovold <[email protected]>
> ---
> drivers/usb/serial/pl2303.c | 25 ++++++++++++++++++++-----
> 1 file changed, 20 insertions(+), 5 deletions(-)
Reviewed-by: Greg Kroah-Hartman <[email protected]>