Skip to content

USB: serial: closing-wait fixes and cleanups

Johan Hovold linux-usb lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4USB: serial: f81232: drop time-based drain delaydrivers/usb/serial/f81232.c+0 -10 replies
2/4USB: serial: io_ti: document reason for drain delaydrivers/usb/serial/io_ti.c+4 -00 replies
3/4USB: serial: ti_usb_3410_5052: reduce drain delay to one chardrivers/usb/serial/ti_usb_3410_5052.c+5 -10 replies
4/4USB: serial: ti_usb_3410_5052: drop drain delay for 3410drivers/usb/serial/ti_usb_3410_5052.c+14 -30 replies

Reviews trailers per patch

None of the 4 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchGreg Kroah-Hartman
SeriesR-b
1/4
2/4
3/4
4/4

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/4] USB: serial: closing-wait fixes and cleanups

The port drain_delay parameter is used to add a time-based delay when closing the port in order to allow the transmit FIFO to drain in cases where we don't know how to tell if the FIFO is empty.

This series removes a redundant time-based delay which is no longer needed, and documents the reason for two other uses where such a delay is needed to let the transmitter shift register clear. As it turns out, this is really only needed for one of the two device types handled by the ti_usb_3410_5052 driver.

Johan

Johan Hovold (4):
USB: serial: f81232: drop time-based drain delay
USB: serial: io_ti: document reason for drain delay
USB: serial: ti_usb_3410_5052: reduce drain delay to one char
USB: serial: ti_usb_3410_5052: drop drain delay for 3410

 drivers/usb/serial/f81232.c           |  1 -
 drivers/usb/serial/io_ti.c            |  4 ++++
 drivers/usb/serial/ti_usb_3410_5052.c | 21 ++++++++++++++++++---
 3 files changed, 22 insertions(+), 4 deletions(-)
Signature · 1 line
2.26.3