Re: [PATCH 2/3] tty/serial: at91: fix hardware handshake with GPIOs

2016-09-07 Thread Alexandre Belloni
On 07/09/2016 at 18:13:23 +0200, Richard Genoud wrote : > Commit 1cf6e8fc8341 ("tty/serial: at91: fix RTS line management when > hardware handshake is enabled") broke the hardware handshake when GPIOs > where used. > > Hardware handshake with GPIOs used to work before this commit because > the CRT

[PATCH 2/3] tty/serial: at91: fix hardware handshake with GPIOs

2016-09-07 Thread Richard Genoud
Commit 1cf6e8fc8341 ("tty/serial: at91: fix RTS line management when hardware handshake is enabled") broke the hardware handshake when GPIOs where used. Hardware handshake with GPIOs used to work before this commit because the CRTSCTS flag (termios->c_cflag) was set, but not the ATMEL_US_USMODE_HW