Re: [PATCH] USB: usbfs: compute urb->actual_length for isochronous

2017-11-09 Thread Alan Stern
On Thu, 9 Nov 2017, Minas Harutyunyan wrote: > Hi Alan, > > On 11/8/2017 9:23 PM, Alan Stern wrote: > > The USB kerneldoc says that the actual_length field "is read in > > non-iso completion functions", but the usbfs driver uses it for all > > URB types in processcompl(). Since not all of the ho

Re: [PATCH] USB: usbfs: compute urb->actual_length for isochronous

2017-11-09 Thread Minas Harutyunyan
Hi Alan, On 11/8/2017 9:23 PM, Alan Stern wrote: > The USB kerneldoc says that the actual_length field "is read in > non-iso completion functions", but the usbfs driver uses it for all > URB types in processcompl(). Since not all of the host controller > drivers set actual_length for isochronous

[PATCH] USB: usbfs: compute urb->actual_length for isochronous

2017-11-08 Thread Alan Stern
The USB kerneldoc says that the actual_length field "is read in non-iso completion functions", but the usbfs driver uses it for all URB types in processcompl(). Since not all of the host controller drivers set actual_length for isochronous URBs, programs using usbfs with some host controllers don'