]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
USB: serial: make bulk_out_size a lower limit
authorJohan Hovold <jhovold@gmail.com>
Wed, 12 Mar 2014 18:09:38 +0000 (19:09 +0100)
committerGreg Kroah-Hartman <greg@kroah.com>
Wed, 12 Mar 2014 19:44:49 +0000 (12:44 -0700)
commit5083fd7bdfe6760577235a724cf6dccae13652c2
treedacbaeeebe30e17afab70cbb344305e212a77ba0
parentd7c933ae7da0d0b112bfc7e86424d780aaeb2d2c
USB: serial: make bulk_out_size a lower limit

Drivers are allowed to override the default bulk-out buffer size
(endpoint maximum packet size) in order to increase throughput, but it
does not make much sense to allow buffers smaller than the default.

Note that this is already how bulk_in_size is defined.

Signed-off-by: Johan Hovold <jhovold@gmail.com>
Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>
drivers/usb/serial/usb-serial.c
include/linux/usb/serial.h