Revert "USB: serial: ch341: fix character loss at high transfer rates"
This reverts commit 3c18e9ba . These devices do not appear to send a zero-length packet when the transfer size is a multiple of the bulk-endpoint max-packet size. This means that incoming data may not be processed by the driver until a short packet is received or the receive buffer is full. Revert back to using endpoint-sized receive buffers to avoid stalled reads. Reported-by: Paul Größel <email@example.com> Link: https://bugzilla.kernel.org/show_bug.cgi?id=214131 Fixes: 3c18e9ba ("USB: serial: ch341: fix character loss at high transfer rates") Cc: firstname.lastname@example.org Cc: Willy Tarreau <email@example.com> Link: https://firstname.lastname@example.org Signed-off-by: Johan Hovold <email@example.com>