summaryrefslogtreecommitdiff
path: root/fs
diff options
context:
space:
mode:
authorJohan Hovold <johan@kernel.org>2021-01-25 14:48:11 +0100
committerJohan Hovold <johan@kernel.org>2021-02-01 10:03:40 +0100
commit5951b8508855799fbb2d6a9553ab3b7af595ea94 (patch)
tree5e105fb83d14c139575f63dbff3866ff99b0b911 /fs
parentfea7372cbc40869876df0f045e367f6f97a1666c (diff)
USB: serial: cp210x: suppress modem-control errors
The CP210X_SET_MHS request cannot be used to control RTS when hardware flow control (auto-RTS) is enabled and instead returns an error which is currently logged as: cp210x ttyUSB0: failed set request 0x7 status: -32 when opening and closing a port (and on TIOCMSET requests). Add a crtscts flag to keep track of the hardware flow-control setting and use it to suppress any request to change RTS when auto-RTS is enabled. Note that RTS is still deasserted when disabling the UART as part of close. Reported-by: Pho Tran <pho.tran@silabs.com> Signed-off-by: Johan Hovold <johan@kernel.org>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions