Re: [PATCH] USB: serial: cp210x: suppress modem-control error on open and close

2021-01-21 Thread Johan Hovold
On Thu, Jan 21, 2021 at 11:29:12AM +0100, Johan Hovold wrote: > The CP210X_SET_MHS request cannot be used to control DTR/RTS when > hardware flow control is enabled and instead returns an error which is > currently logged as: > > cp210x ttyUSB0: failed set request 0x7 status: -32 > > Add a

[PATCH] USB: serial: cp210x: suppress modem-control error on open and close

2021-01-21 Thread Johan Hovold
The CP210X_SET_MHS request cannot be used to control DTR/RTS when hardware flow control is enabled and instead returns an error which is currently logged as: cp210x ttyUSB0: failed set request 0x7 status: -32 Add a crtscts flag to keep track of the hardware flow-control setting and use it