Revert "USB: serial: make bulk_out_size a lower limit"
authorJohan Hovold <johan@kernel.org>
Sun, 15 Feb 2015 04:57:53 +0000 (11:57 +0700)
committerJohan Hovold <johan@kernel.org>
Thu, 26 Feb 2015 16:02:15 +0000 (17:02 +0100)
commitbc4b1f486fe69b86769e07c8edce472327a8462b
tree778e8c228505ea88a028c695643905918c2b41ce
parentc517d838eb7d07bbe9507871fab3931deccff539
Revert "USB: serial: make bulk_out_size a lower limit"

This reverts commit 5083fd7bdfe6760577235a724cf6dccae13652c2.

A bulk-out size smaller than the end-point size is indeed valid. The
offending commit broke the usb-debug driver for EHCI debug devices,
which use 8-byte buffers.

Fixes: 5083fd7bdfe6 ("USB: serial: make bulk_out_size a lower limit")
Reported-by: "Li, Elvin" <elvin.li@intel.com>
Cc: stable <stable@vger.kernel.org> # v3.15
Signed-off-by: Johan Hovold <johan@kernel.org>
drivers/usb/serial/usb-serial.c
include/linux/usb/serial.h