Re: [PATCH V2] usb: core: allow zero packet flag for interrupt urbs

2014-07-21 Thread Alan Stern
On Mon, 21 Jul 2014, Amit Virdi wrote: > Section 4.4.7.2 "Interrupt Transfer Bandwidth Requirements" of the USB3.0 spec > says: > A zero-length data payload is a valid transfer and may be useful for > some implementations. > > So, extend the logic of allowing URB_ZERO_PACKET to interr

[PATCH V2] usb: core: allow zero packet flag for interrupt urbs

2014-07-20 Thread Amit Virdi
Section 4.4.7.2 "Interrupt Transfer Bandwidth Requirements" of the USB3.0 spec says: A zero-length data payload is a valid transfer and may be useful for some implementations. So, extend the logic of allowing URB_ZERO_PACKET to interrupt urbs too. Otherwise, the kernel throws warni