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

USB: serial: cp210x: fix RTS handling



Clearing TIOCM_RTS should always deassert RTS and setting the same bit
should enable auto-RTS if hardware flow control is enabled.

This allows user space to throttle input directly at the source also
when hardware-assisted flow control is enabled and makes dtr_rts()
always deassert both lines during close (when HUPCL is set).

Signed-off-by: default avatarJohan Hovold <johan@kernel.org>
parent 6b667274
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment