USB: serial: cp210x: add support for line-status events
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest5 patches 2 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | USB: serial: cp210x: disable interface on errors in opendrivers/ | +10 | 0 replies | |
| 2/5 | USB: serial: cp210x: add support for line-status eventsdrivers/ | +186 | 0 replies | |
| 3/5 | USB: serial: cp210x: add support for TIOCGICOUNTdrivers/ | +1 | 0 replies | |
| 4/5 | USB: serial: cp210x: drop unnecessary packed attributesdrivers/ | +3 | 0 replies | |
| 5/5 | USB: serial: cp210x: use in-kernel types in port datadrivers/ | +1 | 0 replies |
Reviews trailers per patch
None of the 5 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Greg Kroah-Hartman |
|---|---|
| Series | R-b |
| 1/5 | |
| 2/5 | |
| 3/5 | |
| 4/5 | |
| 5/5 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/5] USB: serial: cp210x: add support for line-status events
This series add supports for line-status events that specifically can be used to detect parity errors.
The implementation relies on the device's event-insertion mode, which can also be used to detect line-breaks and modem status changes. But as this doesn't seem to work as expected on CP2102, support has been left unimplemented for now.
Included are also a couple of cleanups.
Johan
Changes since RFC [1]:
- drop sysrq support which relies on break detection
- use 0xec (instead of 0xff) as escape character
[1] https://lore.kernel.org/r/20200703150104.GE3453@localhost
Johan Hovold (5):
USB: serial: cp210x: disable interface on errors in open
USB: serial: cp210x: add support for line-status events
USB: serial: cp210x: add support for TIOCGICOUNT
USB: serial: cp210x: drop unnecessary packed attributes
USB: serial: cp210x: use in-kernel types in port data
drivers/usb/serial/cp210x.c | 209 ++++++++++++++++++++++++++++++++++-- 1 file changed, 201 insertions(+), 8 deletions(-)
Signature · 1 line
2.26.2