]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitdd7ca92a80b0078717b98ad678335e3c0748aeda
tree778e8c228505ea88a028c695643905918c2b41ce
parent9cbe621030a9cce16d27329dac74fd4b1c1d9412
Revert "USB: serial: make bulk_out_size a lower limit"

This reverts commit c64be41c53d8d1227188b0e89e7edaebefa4aabc.

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: c64be41c53d8 ("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