ftdi_sio driver improvements
Get series with b4
b4 am [email protected]Versions newest first
- v3 Latest7 patches 13 repliesIn review
Changes in v3 from the cover letter
- Use u32 for div_value
- Add line break after the colons in switch
- Avoid ternary operators where possilble
- Use baud rate 9600 instead of 0 when unspecified
- Fix commit messages
Patches in v3 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/7 | USB: serial: ftdi_sio: Fix divisor overflowdrivers/ | +6 | 1 reply | |
| 2/7 | USB: serial: ftdi_sio: Add missing baud rate validationdrivers/ | +3 | 1 reply | |
| 3/7 | USB: serial: ftdi_sio: Extract SIO divisor code to functiondrivers/ | +31 | 7 replies | |
| 4/7 | USB: serial: ftdi_sio: Do not reset baud rate to 9600 Baud on errordrivers/ | +35 | 1 reply | |
| 5/7 | USB: serial: ftdi_sio: Fix baud rate rounding for ASYNC_SPD_CUSTdrivers/ | +1 | 1 reply | |
| 6/7 | USB: serial: ftdi_sio: Fix custom_divisor for TIOCGSERIAL and c_*speed for TCGETS2drivers/ | +16 | 1 reply | |
| 7/7 | USB: serial: ftdi_sio: Fill c_*speed fields with real baud ratedrivers/ | +93 | 1 reply |
Reviews trailers per patch
None of the 7 patches has a Reviewed-by or Acked-by.
| Patch | Marek Behún |
|---|---|
| 1/7 | T-b |
| 2/7 | T-b |
| 3/7 | T-b |
| 4/7 | T-b |
| 5/7 | T-b |
| 6/7 | T-b |
| 7/7 | T-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v3 0/7] ftdi_sio driver improvements
Changes since v2:
- Use u32 for div_value
- Add line break after the colons in switch
- Avoid ternary operators where possilble
- Use baud rate 9600 instead of 0 when unspecified
- Fix commit messages
Pali Rohár (7):
USB: serial: ftdi_sio: Fix divisor overflow
USB: serial: ftdi_sio: Add missing baud rate validation
USB: serial: ftdi_sio: Extract SIO divisor code to function
USB: serial: ftdi_sio: Do not reset baud rate to 9600 Baud on error
USB: serial: ftdi_sio: Fix baud rate rounding for ASYNC_SPD_CUST
USB: serial: ftdi_sio: Fix custom_divisor for TIOCGSERIAL and c_*speed
for TCGETS2
USB: serial: ftdi_sio: Fill c_*speed fields with real baud rate
drivers/usb/serial/ftdi_sio.c | 215 +++++++++++++++++++++++++++++----- 1 file changed, 185 insertions(+), 30 deletions(-)
Signature · 1 line
2.20.1