USB: serial: generic driver fixes and bulk buffer feature
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest9 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/9 | USB: serial: allow drivers to define bulk buffer sizesdrivers/ drivers/ drivers/ +2 more | +16 | 0 replies | |
| 2/9 | USB: cp210x: increase the bulk-out buffer size to 256 bytedrivers/ | +1 | 0 replies | |
| 3/9 | USB: cp210x: increase bulk-in buffer size to 256 bytedrivers/ | +1 | 0 replies | |
| 4/9 | USB: pl2303: increase the bulk-out buffer size to 256 bytedrivers/ | +1 | 0 replies | |
| 5/9 | USB: pl2303: increase bulk-in buffer size to 256 bytedrivers/ | +1 | 0 replies | |
| 6/9 | USB: serial: fix generic chars_in_bufferdrivers/ | +11 | 0 replies | |
| 7/9 | USB: serial: fix missing locking on fifo in write callbackdrivers/ | +5 | 0 replies | |
| 8/9 | USB: serial: clear fifo on closedrivers/ | +7 | 0 replies | |
| 9/9 | USB: serial: refactor generic closedrivers/ drivers/ drivers/ +3 more | +8 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/9] USB: serial: generic driver fixes and bulk buffer feature
Hi,
Here are a few of fixes to the generic driver as well as a new feature that lets drivers determine the size of the bulk buffers more easily. It turns out that increasing the out-buffer sizes for cp210x and pl2303 have a significant effect on throughput.
Thanks,
Johan
Johan Hovold (9):
USB: serial: allow drivers to define bulk buffer sizes
USB: cp210x: increase the bulk-out buffer size to 256 byte
USB: cp210x: increase bulk-in buffer size to 256 byte
USB: pl2303: increase the bulk-out buffer size to 256 byte
USB: pl2303: increase bulk-in buffer size to 256 byte
USB: serial: fix generic chars_in_buffer
USB: serial: fix missing locking on fifo in write callback
USB: serial: clear fifo on close
USB: serial: refactor generic close
drivers/usb/serial/ark3116.c | 7 ++----- drivers/usb/serial/belkin_sa.c | 4 +--- drivers/usb/serial/ch341.c | 5 +---- drivers/usb/serial/cp210x.c | 7 +++---- drivers/usb/serial/ftdi_sio.c | 16 +--------------- drivers/usb/serial/generic.c | 31 ++++++++++++++++++++++++------- drivers/usb/serial/ipaq.c | 28 ++-------------------------- drivers/usb/serial/iuu_phoenix.c | 30 ++---------------------------- drivers/usb/serial/mct_u232.c | 7 ++----- drivers/usb/serial/pl2303.c | 2 ++ drivers/usb/serial/usb-serial.c | 8 ++++++-- include/linux/usb/serial.h | 5 +++++ 12 files changed, 51 insertions(+), 99 deletions(-)