USB: serial: cp210x: clean up auto-RTS handling
authorJohan Hovold <johan@kernel.org>
Mon, 25 Jan 2021 13:48:17 +0000 (14:48 +0100)
committerJohan Hovold <johan@kernel.org>
Mon, 1 Feb 2021 09:03:56 +0000 (10:03 +0100)
commite2f2dea34cf16e67b347ea7e9805864f03d16dcc
tree5b71a3cdeeaa43b6dc27c2d37157d5216f527ec5
parentcf00ead0bde8e47ccd3aa8a4e51cfa59bbf5e055
USB: serial: cp210x: clean up auto-RTS handling

Clear the RTS bits of the flow-control request before determining the
new value when updating the settings.

Signed-off-by: Johan Hovold <johan@kernel.org>
drivers/usb/serial/cp210x.c