[PATCH] sc16is7xx: remove useless "uart_handle_cts_change"

2016-03-05 Thread Wills Wang
m active(low) to inactive(high), driver don't know when the state of nCTS change from incactive to active, so can't resume the transmission when a peer device is again ready and re-assert nRTS signal. Signed-off-by: Wills Wang <wills.w...@live.com> --- drivers/tty/serial/sc16is7xx.c |

[PATCH] sc16is7xx: remove useless "uart_handle_cts_change"

2016-03-05 Thread Wills Wang
m active(low) to inactive(high), driver don't know when the state of nCTS change from incactive to active, so can't resume the transmission when a peer device is again ready and re-assert nRTS signal. Signed-off-by: Wills Wang --- drivers/tty/serial/sc16is7xx.c | 13 +++-- 1 file changed,

[PATCH] sc16is7xx: don't need "uart_handle_cts_change"

2015-12-22 Thread Wills Wang
SC16is7xx has feature for auto hardware flow control using RTS/CTS, so we don't need "uart_handle_cts_change" to invoke "start_tx/stop_tx" for flow control. In addition, for software CTS, interrupt "SC16IS7XX_IIR_CTSRTS_SRC" just report the nCTS change of state from active(low) to inactive(high),

[PATCH] sc16is7xx: don't need "uart_handle_cts_change"

2015-12-22 Thread Wills Wang
SC16is7xx has feature for auto hardware flow control using RTS/CTS, so we don't need "uart_handle_cts_change" to invoke "start_tx/stop_tx" for flow control. In addition, for software CTS, interrupt "SC16IS7XX_IIR_CTSRTS_SRC" just report the nCTS change of state from active(low) to inactive(high),

[PATCH v2] sc16is7xx: fix incorrect register bits macro

2015-12-19 Thread Wills Wang
In datasheet, Modem Status Register MSR[4-7] reflect the modem pins CTS/DSR/RI/CD signal state. Signed-off-by: Wills Wang --- drivers/tty/serial/sc16is7xx.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/tty/serial/sc16is7xx.c b/drivers/tty/serial

[PATCH] sc16is7xx: fix incorrect register bits macro

2015-12-19 Thread Wills Wang
In datasheet, Modem Status Register MSR[4-5] reflect the modem pins CTS/DSR/RI/CD signal state. Signed-off-by: Wills Wang --- drivers/tty/serial/sc16is7xx.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/tty/serial/sc16is7xx.c b/drivers/tty/serial

[PATCH v2] sc16is7xx: fix incorrect register bits macro

2015-12-19 Thread Wills Wang
In datasheet, Modem Status Register MSR[4-7] reflect the modem pins CTS/DSR/RI/CD signal state. Signed-off-by: Wills Wang <wills.w...@live.com> --- drivers/tty/serial/sc16is7xx.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/tty/serial/sc16is7

[PATCH] sc16is7xx: fix incorrect register bits macro

2015-12-19 Thread Wills Wang
In datasheet, Modem Status Register MSR[4-5] reflect the modem pins CTS/DSR/RI/CD signal state. Signed-off-by: Wills Wang <wills.w...@live.com> --- drivers/tty/serial/sc16is7xx.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/tty/serial/sc16is7