kernel_optimize_test/drivers/usb/core
Amit Virdi 9672f0feb5 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 <amit.virdi@st.com>
Acked-by: Hans de Goede <hdegoede@redhat.com>
Acked-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-07-22 16:30:58 -07:00
..
buffer.c
config.c Merge 3.14-rc6 into usb-next 2014-03-12 11:40:15 -07:00
devices.c
devio.c USB patches for 3.15-rc1 2014-04-01 17:06:09 -07:00
driver.c USB: shutdown all URBs after controller death 2014-07-17 16:59:27 -07:00
endpoint.c
file.c
generic.c staging: usbip: convert usbip-host driver to usb_device_driver 2014-02-07 10:54:30 -08:00
hcd-pci.c USB: core: hcd-pci: free IRQ before disabling PCI device when shutting down 2014-07-22 16:30:58 -07:00
hcd.c usb-core: Remove Fix mes in file hcd.c 2014-07-18 16:18:11 -07:00
hub.c USB: Fix persist resume of some SS USB devices 2014-07-18 16:18:11 -07:00
hub.h usb: force warm reset to break link re-connect livelock 2014-07-09 15:43:12 -07:00
Kconfig usb: common: rename phy-fsm-usb.c to usb-otg-fsm.c 2014-05-27 15:29:44 -07:00
Makefile
message.c Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial 2014-04-02 16:23:38 -07:00
notify.c
otg_whitelist.h
port.c usb: force warm reset to break link re-connect livelock 2014-07-09 15:43:12 -07:00
quirks.c USB: add reset resume quirk for usb3503 2014-07-11 18:14:10 -07:00
sysfs.c
urb.c usb: core: allow zero packet flag for interrupt urbs 2014-07-22 16:30:58 -07:00
usb-acpi.c usb: find internal hub tier mismatch via acpi 2014-05-27 16:38:52 -07:00
usb.c USB: Add EXPORT_SYMBOL for usb_alloc_dev 2014-07-17 17:11:09 -07:00
usb.h usb: hub_handle_remote_wakeup() depends on CONFIG_PM_RUNTIME=y 2014-05-27 16:51:51 -07:00