From: Amit Virdi Date: Mon, 21 Jul 2014 05:16:18 +0000 (+0530) Subject: usb: core: allow zero packet flag for interrupt urbs X-Git-Tag: omap-for-v3.17/fixes-against-rc2~164^2~15 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9672f0feb566423deb245032a1c9a7a14dacb6eb;p=pandora-kernel.git usb: core: allow zero packet flag for interrupt urbs 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 warning of BOGUS transfer flags. Signed-off-by: Amit Virdi Acked-by: Hans de Goede Acked-by: Alan Stern Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed