Searched hist:"8 cce3bbfb4cffce097c823c29ba487d5a7422d37" (Results 1 – 1 of 1) sorted by relevance
/linux/drivers/usb/serial/ |
H A D | cp210x.c | diff 8cce3bbfb4cffce097c823c29ba487d5a7422d37 Mon Jan 25 14:48:12 CET 2021 Johan Hovold <johan@kernel.org> USB: serial: cp210x: fix modem-control handling
The vendor request used to set the flow-control settings also sets the state of the modem-control lines.
Add state variables to keep track of the modem-control lines to avoid always asserting the lines whenever the flow-control settings are updated.
This specifically also avoids asserting DTR/RTS when opening a port with the line speed set to B0.
Signed-off-by: Johan Hovold <johan@kernel.org>
|