]> git.ipfire.org Git - people/ms/linux.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)
committerSasha Levin <sasha.levin@oracle.com>
Sat, 14 Mar 2015 19:37:23 +0000 (15:37 -0400)
commit64264c33bfb941f4fc9ed49b183f292dc704f893
treecc9c620f8d468181c41ac2d74b2a086583a9aa06
parentddcc85e52e9c2b9a36e5c837453421b089dab310
Revert "USB: serial: make bulk_out_size a lower limit"

commit bc4b1f486fe69b86769e07c8edce472327a8462b upstream.

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>
Signed-off-by: Johan Hovold <johan@kernel.org>
Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
drivers/usb/serial/usb-serial.c
include/linux/usb/serial.h