commit | ba4bbdabecd11530dca78dbae3ee7e51ffdc0a06 | [log] [tgz] |
---|---|---|
author | Johan Hovold <johan@kernel.org> | Mon Jul 05 10:20:11 2021 +0200 |
committer | Johan Hovold <johan@kernel.org> | Fri Jul 30 17:19:31 2021 +0200 |
tree | 249f0f24d574f49cc45fdfa105b172e413a7ee4e | |
parent | 2d9a00705910ccea2dc5d9cba5469ff2de72fc87 [diff] |
USB: serial: cp210x: fix flow-control error handling Make sure that the driver crtscts state is not updated in the unlikely event that the flow-control request fails. Not doing so could break RTS control. Fixes: 5951b8508855 ("USB: serial: cp210x: suppress modem-control errors") Cc: stable@vger.kernel.org # 5.11 Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: Johan Hovold <johan@kernel.org>