diff options
author | Alexandros C. Couloumbis <alex@ozo.com> | 2010-12-08 21:20:40 +0000 |
---|---|---|
committer | Alexandros C. Couloumbis <alex@ozo.com> | 2010-12-08 21:20:40 +0000 |
commit | ce0984ec5db9152548582ca9b6b440c0b7cc0153 (patch) | |
tree | 4f11cdcc91e884b2da407586161b51ef4f84e1d6 /target/linux/generic/patches-2.6.37/801-usb_serial_endpoint_size.patch | |
parent | 911c2540b012a488824dcfeffdcbedc75439cbc1 (diff) | |
download | mtk-20170518-ce0984ec5db9152548582ca9b6b440c0b7cc0153.zip mtk-20170518-ce0984ec5db9152548582ca9b6b440c0b7cc0153.tar.gz mtk-20170518-ce0984ec5db9152548582ca9b6b440c0b7cc0153.tar.bz2 |
linux/generic: update & refresh 2.6.36 & 2.6.37. (closes #8324)
SVN-Revision: 24370
Diffstat (limited to 'target/linux/generic/patches-2.6.37/801-usb_serial_endpoint_size.patch')
-rw-r--r-- | target/linux/generic/patches-2.6.37/801-usb_serial_endpoint_size.patch | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/target/linux/generic/patches-2.6.37/801-usb_serial_endpoint_size.patch b/target/linux/generic/patches-2.6.37/801-usb_serial_endpoint_size.patch index aa64c68..45a096d 100644 --- a/target/linux/generic/patches-2.6.37/801-usb_serial_endpoint_size.patch +++ b/target/linux/generic/patches-2.6.37/801-usb_serial_endpoint_size.patch @@ -1,6 +1,6 @@ --- a/drivers/usb/serial/usb-serial.c +++ b/drivers/usb/serial/usb-serial.c -@@ -60,6 +60,7 @@ static struct usb_driver usb_serial_driv +@@ -61,6 +61,7 @@ static struct usb_driver usb_serial_driv drivers depend on it. */ @@ -8,7 +8,7 @@ static int debug; /* initially all NULL */ static struct usb_serial *serial_table[SERIAL_TTY_MINORS]; -@@ -912,7 +913,7 @@ int usb_serial_probe(struct usb_interfac +@@ -913,7 +914,7 @@ int usb_serial_probe(struct usb_interfac } buffer_size = serial->type->bulk_in_size; if (!buffer_size) @@ -17,7 +17,7 @@ port->bulk_in_size = buffer_size; port->bulk_in_endpointAddress = endpoint->bEndpointAddress; port->bulk_in_buffer = kmalloc(buffer_size, GFP_KERNEL); -@@ -1385,3 +1386,5 @@ MODULE_LICENSE("GPL"); +@@ -1388,3 +1389,5 @@ MODULE_LICENSE("GPL"); module_param(debug, bool, S_IRUGO | S_IWUSR); MODULE_PARM_DESC(debug, "Debug enabled or not"); |