Thread (4 messages) 4 messages, 3 authors, 2017-01-11

Re: [PATCH v1 1/1] serial: 8250_dw: Allow hardware flow control to be used

From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Date: 2017-01-11 08:00:47
Also in: lkml

On Tue, Dec 06, 2016 at 02:34:03PM -0800, Jason Uy wrote:
In the most common use case, the Synopsys DW UART driver does not
set the set_termios callback function.  This prevents UPSTAT_AUTOCTS
from being set when the UART flag CRTSCTS is set.  As a result, the
driver will use software flow control as opposed to hardware flow
control.

To fix the problem, the set_termios callback function is set to the
DW specific function.  The logic to set UPSTAT_AUTOCTS is moved so
that any clock error will not affect setting the hardware flow
control.

Reviewed-by: Scott Branden <scott.branden@broadcom.com>
Reviewed-by: Ray Jui <redacted>
Signed-off-by: Jason Uy <redacted>
---
 drivers/tty/serial/8250/8250_dw.c | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)
This patch doesn't apply at all to the latest kernel tree.  Can you
please refresh it and resend?

thanks,

greg k-h
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help