commit | cf00ead0bde8e47ccd3aa8a4e51cfa59bbf5e055 | [log] [tgz] |
---|---|---|
author | Johan Hovold <johan@kernel.org> | Mon Jan 25 14:48:16 2021 +0100 |
committer | Johan Hovold <johan@kernel.org> | Mon Feb 01 10:03:55 2021 +0100 |
tree | bf35b76a1e8c17d416d06a192b3f6f34a6aad178 | |
parent | 6b667274f41a0269a8b493079fcacd4f55183f60 [diff] |
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: Johan Hovold <johan@kernel.org>