Searched hist:cf00ead0bde8e47ccd3aa8a4e51cfa59bbf5e055 (Results 1 – 1 of 1) sorted by relevance
/linux/drivers/usb/serial/ |
H A D | cp210x.c | diff cf00ead0bde8e47ccd3aa8a4e51cfa59bbf5e055 Mon Jan 25 14:48:16 CET 2021 Johan Hovold <johan@kernel.org> 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>
|