summaryrefslogtreecommitdiffstats
path: root/drivers/usb/host/pci-quirks.c
diff options
context:
space:
mode:
authorJassi Brar <jassi.brar@samsung.com>2011-01-14 03:55:53 +0100
committerGreg Kroah-Hartman <gregkh@suse.de>2011-02-04 20:42:52 +0100
commit553fbcde3481c98a076c9744a59ad08dbc61c099 (patch)
treef41887180fc77353c29eeca95bb4b79b9a153e2f /drivers/usb/host/pci-quirks.c
parentUSB: serial: mct_u232: added _ioctl, _msr_to_icount and _get_icount functions (diff)
downloadlinux-553fbcde3481c98a076c9744a59ad08dbc61c099.tar.xz
linux-553fbcde3481c98a076c9744a59ad08dbc61c099.zip
USB: Gadget: Initialize wMaxPacketSize if not already set
Currently, for ISO and INT, a protocol driver must chose the value for wMaxPacketSize arbitrarily. The value may be too low, resulting in lesser than efficient operation or high enough to not work with all UDC drivers. Take un-initialized wMaxPacketSize as a hint to provide maximum possible packetsize for the selected endpoint. The protocol may then choose a value not bigger than that. Signed-off-by: Jassi Brar <jassi.brar@samsung.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/host/pci-quirks.c')
0 files changed, 0 insertions, 0 deletions