android_kernel_xiaomi_sm8350/drivers/usb/core
Micah Dowty e016683d59 [PATCH] USB: Remove 4088-byte limit on usbfs control URBs
This patch removes the artificial 4088-byte limit that usbfs
currently places on Control transfers. The USB spec does not
specify a strict limit on the size of an entire control transfer.
It does, however, state that the data stage "follows the same
protocol rules as bulk transfers." (USB 2, 8.5.3)

The level of support for large control transfers in real host
controllers varies, but it's important to support at least 4K
transfers. Windows enforces a maximum control transfer size
of 4K, so there exists some hardware that requires a full 4096
byte data stage. Without this patch, we fall short of that by
8 bytes on architectures with a 4K page size, and it becomes
impossible to support such hardware with a user-space driver.

Since any limit placed on control transfers by usbfs would be
arbitrary, this patch replaces the PAGE_SIZE limit with the same
arbitrary limit used by bulk transfers.

Signed-off-by: Micah Dowty <micah@vmware.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2006-06-21 15:04:11 -07:00
..
buffer.c
config.c
devices.c [PATCH] USB: convert a bunch of USB semaphores to mutexes 2006-03-20 14:49:55 -08:00
devio.c [PATCH] USB: Remove 4088-byte limit on usbfs control URBs 2006-06-21 15:04:11 -07:00
driver.c
file.c [PATCH] mark f_ops const in the inode 2006-03-28 09:16:05 -08:00
hcd-pci.c [PATCH] pm: print name of failed suspend function 2006-04-14 11:41:25 -07:00
hcd.c [SPARC]: Kill __irq_itoa(). 2006-06-20 01:21:29 -07:00
hcd.h [PATCH] USB: remove usbcore-specific wakeup flags 2006-03-20 14:49:56 -08:00
hub.c [PATCH] USB: usbcore: always turn on hub port power 2006-06-21 15:04:09 -07:00
hub.h
inode.c
Kconfig [PATCH] USB: otg hub support is optional 2006-04-14 11:12:23 -07:00
Makefile
message.c [PATCH] USB: usbcore: usb_set_configuration oops (NULL ptr dereference) 2006-03-20 14:50:01 -08:00
notify.c [PATCH] Notifier chain update: API changes 2006-03-27 08:44:50 -08:00
otg_whitelist.h
sysfs.c
urb.c
usb.c [PATCH] USB: drivers/usb/core/: remove unused exports 2006-04-14 11:12:22 -07:00
usb.h