Re: [PATCH 1/2] serial: sh-sci: Fix early deassertion of dedicated RTS

2017-01-09 Thread Laurent Pinchart
Hi Geert, On Monday 09 Jan 2017 10:53:55 Geert Uytterhoeven wrote: > On Fri, Jan 6, 2017 at 1:30 PM, Laurent Pinchart wrote: > > On Friday 02 Dec 2016 13:35:10 Geert Uytterhoeven wrote: > >> If a UART has dedicated RTS/CTS pins, there are some issues: > >> 1. When changing hardware control flow,

Re: [PATCH 1/2] serial: sh-sci: Fix early deassertion of dedicated RTS

2017-01-09 Thread Geert Uytterhoeven
Hi Laurent, On Fri, Jan 6, 2017 at 1:30 PM, Laurent Pinchart wrote: > On Friday 02 Dec 2016 13:35:10 Geert Uytterhoeven wrote: >> If a UART has dedicated RTS/CTS pins, there are some issues: >> 1. When changing hardware control flow, the new AUTORTS state is

Re: [PATCH 1/2] serial: sh-sci: Fix early deassertion of dedicated RTS

2017-01-06 Thread Laurent Pinchart
Hi Geert, Thank you for the patch. On Friday 02 Dec 2016 13:35:10 Geert Uytterhoeven wrote: > If a UART has dedicated RTS/CTS pins, there are some issues: > > 1. When changing hardware control flow, the new AUTORTS state is not >immediately reflected in the hardware, but only when RTS is

[PATCH 1/2] serial: sh-sci: Fix early deassertion of dedicated RTS

2016-12-02 Thread Geert Uytterhoeven
If a UART has dedicated RTS/CTS pins, there are some issues: 1. When changing hardware control flow, the new AUTORTS state is not immediately reflected in the hardware, but only when RTS is raised. However, the serial core doesn't call .set_mctrl() after .set_termios(), hence AUTORTS may