Re: [PACTH v2] cdc-wdm: Clear read pipeline in case of error

2016-08-09 Thread Robert Foss
On 2016-08-09 09:51 AM, Greg KH wrote: On Mon, Aug 08, 2016 at 11:48:52AM -0400, robert.f...@collabora.com wrote: From: Robert Foss Implemented queued response handling. This queue is processed every time the WDM_READ flag is cleared. In case of a read error, userspace may not actually read

Re: [PACTH v2] cdc-wdm: Clear read pipeline in case of error

2016-08-09 Thread Greg KH
On Mon, Aug 08, 2016 at 11:48:52AM -0400, robert.f...@collabora.com wrote: > From: Robert Foss > > Implemented queued response handling. This queue is processed every time the > WDM_READ flag is cleared. > > In case of a read error, userspace may not actually read the data, since the > driver re

Re: [PACTH v2] cdc-wdm: Clear read pipeline in case of error

2016-08-09 Thread Oliver Neukum
On Mon, 2016-08-08 at 11:48 -0400, robert.f...@collabora.com wrote: > From: Robert Foss > > Implemented queued response handling. This queue is processed every time the > WDM_READ flag is cleared. > > In case of a read error, userspace may not actually read the data, since the > driver returns a

[PACTH v2] cdc-wdm: Clear read pipeline in case of error

2016-08-08 Thread robert . foss
From: Robert Foss Implemented queued response handling. This queue is processed every time the WDM_READ flag is cleared. In case of a read error, userspace may not actually read the data, since the driver returns an error through wdm_poll. After this, the underlying device may attempt to send us