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

USB: serial: pl2303: fix tranceiver suspend mode



Add helper function to update register bits instead of overwriting the
entire control register when updating the flow-control settings.

This specifically avoids having the tranceiver suspend mode (bit 0)
depend on the flow control setting.

The tranceiver is currently configured at probe to be disabled during
suspend, but this was overridden when disabling flow control or enabling
xon/xoff.

Fixes: 715f9527 ("USB: flow control fix for pl2303")
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 68270dab
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment