aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHamish Guthrie <hcg@openwrt.org>2008-07-08 12:13:02 +0000
committerHamish Guthrie <hcg@openwrt.org>2008-07-08 12:13:02 +0000
commit5df76767cc8139e1d95a43457a2538515261a549 (patch)
tree159857b93359f07bf4a8356e7bd2d9922fdc5404
parenta05293af335506fedb4ac134a93eec6a44a2aa45 (diff)
downloadupstream-5df76767cc8139e1d95a43457a2538515261a549.tar.gz
upstream-5df76767cc8139e1d95a43457a2538515261a549.tar.bz2
upstream-5df76767cc8139e1d95a43457a2538515261a549.zip
Added in sub endpoint size patch
SVN-Revision: 11748
-rw-r--r--target/linux/at91/patches-2.6.25/017-usb_serial_endpoint_size.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/target/linux/at91/patches-2.6.25/017-usb_serial_endpoint_size.patch b/target/linux/at91/patches-2.6.25/017-usb_serial_endpoint_size.patch
new file mode 100644
index 0000000000..e251ec9522
--- /dev/null
+++ b/target/linux/at91/patches-2.6.25/017-usb_serial_endpoint_size.patch
@@ -0,0 +1,11 @@
+--- linux-2.6.25.10.old/drivers/usb/serial/usb-serial.c 2008-07-08 07:42:24.000000000 +0200
++++ linux-2.6.25.10/drivers/usb/serial/usb-serial.c 2008-07-08 14:07:39.000000000 +0200
+@@ -905,7 +905,7 @@
+ dev_err(&interface->dev, "No free urbs available\n");
+ goto probe_error;
+ }
+- buffer_size = (endpoint->wMaxPacketSize > maxSize) ? endpoint->wMaxPacketSize : maxSize;
++ buffer_size = 2048;
+ port->bulk_in_size = buffer_size;
+ port->bulk_in_endpointAddress = endpoint->bEndpointAddress;
+ port->bulk_in_buffer = kmalloc (buffer_size, GFP_KERNEL);