Re: [PATCH] USB: serial: opticon: fix CTS retrieval at open

2017-01-16 Thread Johan Hovold
On Fri, Jan 13, 2017 at 01:41:47PM +0100, Greg Kroah-Hartman wrote: > On Fri, Jan 13, 2017 at 01:21:08PM +0100, Johan Hovold wrote: > > The opticon driver used a control request at open to trigger a CTS > > status notification to be sent over the bulk-in pipe. When the driver > > was converted to

Re: [PATCH] USB: serial: opticon: fix CTS retrieval at open

2017-01-13 Thread Greg KH
On Fri, Jan 13, 2017 at 01:21:08PM +0100, Johan Hovold wrote: > The opticon driver used a control request at open to trigger a CTS > status notification to be sent over the bulk-in pipe. When the driver > was converted to using the generic read implementation, an inverted test > prevented this

[PATCH] USB: serial: opticon: fix CTS retrieval at open

2017-01-13 Thread Johan Hovold
The opticon driver used a control request at open to trigger a CTS status notification to be sent over the bulk-in pipe. When the driver was converted to using the generic read implementation, an inverted test prevented this request from being sent, something which could lead to TIOCMGET reporting