serial: imx: fix RTS and RTS/CTS handling
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v7 Latest3 patches 3 repliesIn review
- v63 patches 5 repliesSuperseded
- v53 patches 4 repliesSuperseded
Earlier versions · 4
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v4 | 3 patches | 14 replies | Superseded | |
| v3 | 7 patches | 0 replies | Superseded | |
| v2 | 7 patches | 12 replies | Superseded | |
| v1 RFC | 7 patches | 2 replies | Superseded |
Changes in v7 from the cover letter
* removed "Acked-by:" Uwe Kleine-König from two last patches where they were put by mistake.
Patches in v7 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | serial: imx: set_termios(): do not enable autoRTS if RTS is unsetdrivers/ | +6 | 0 replies | |
| 2/3 | serial: imx: set_mctrl(): correctly restore autoRTS statedrivers/ | +14 | 0 replies | |
| 3/3 | serial: imx: get rid of imx_uart_rts_auto()drivers/ | +8 | 3 replies |
Reviews trailers per patch
All 3 patches have a Reviewed-by or Acked-by.
| Patch | Uwe Kleine-König | Sascha Hauer |
|---|---|---|
| 1/3 | A-b | R-b T-b |
| 2/3 | R-b T-b | |
| 3/3 | R-b T-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v7 0/3] serial: imx: fix RTS and RTS/CTS handling
This is rebase of v3 on top of 'tty-next', to get rid of commits that are already adopted to mainline.
RTS signal and RTS/CTS handshake handling had a few problems these patches fix.
In addition, minor cleanups are made to the involved code.
Changelog:
v7:
* removed "Acked-by:" Uwe Kleine-König from two last patches where they were put by mistake.
v6:
* changed "Reviewed-by:"
Uwe Kleine-König <[email protected]> to "Acked-by:" him, according to his request
v5:
* improved commit description and added more comments for "serial: imx: set_termios(): do not enable autoRTS if RTS is unset" as suggested by
Uwe Kleine-König <[email protected]> and added corresponding "Reviewed-by:"
v4:
* rebased on top of 'tty-next', to get rid of commits that are already adopted to mainline.
v3:
* Improved comments in "serial: imx: set_mctrl(): correctly restore autoRTS state", as suggested by Uwe Kleine-König <[email protected]>
v2:
* Appended: "Reviewed-by:" and "Tested-by:"
Sascha Hauer <[email protected]>
* Removed "RFC" from header
v1:
* Fixed in "serial: imx: set_termios(): preserve RTS state"
-+ ucr2 = UCR2_SRST | UCR2_IRTS;
++ ucr2 |= UCR2_SRST | UCR2_IRTS;
as noticed by Lothar Waßmann <[email protected]>
* Fixed in "serial: imx: set_termios(): preserve RTS state"
-+ ucr2 = old_ucr2 & (UCR2_TXEN | UCR2_RXEN | UCR2_ATEN | UCR2_CTSC); ++ ucr2 = old_ucr2 & (UCR2_TXEN | UCR2_RXEN | UCR2_ATEN | UCR2_CTS);
as the fix for the problem found by Sascha Hauer <[email protected]>
* Reordered:
serial: imx: set_termios(): preserve RTS state
serial: imx: set_termios(): do not enable autoRTS if RTS is unset
as the latter makes sense only provided the former is already applied.
Sergey Organov (3):
serial: imx: set_termios(): do not enable autoRTS if RTS is unset
serial: imx: set_mctrl(): correctly restore autoRTS state
serial: imx: get rid of imx_uart_rts_auto()
drivers/tty/serial/imx.c | 32 ++++++++++++++++++++++---------- 1 file changed, 22 insertions(+), 10 deletions(-)
--
2.10.0.1.g57b01a3
_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel