Re: [PATCH 6/8] serial: 8250: Copy mctrl when register port.

2018-06-06 Thread Giulio Benetti
Hi Aaron, Il 06/06/2018 16:31, Aaron Sierra ha scritto: - Original Message - From: "Giulio Benetti" Sent: Friday, June 1, 2018 7:40:19 AM RS485 can modify mctrl on startup, especially when RTS_AFTER_SEND is on TIOCM_RTS is set, then need to keep it set when registering port. Copy m

Re: [PATCH 6/8] serial: 8250: Copy mctrl when register port.

2018-06-06 Thread Aaron Sierra
- Original Message - > From: "Giulio Benetti" > Sent: Friday, June 1, 2018 7:40:19 AM > RS485 can modify mctrl on startup, especially when RTS_AFTER_SEND is on > TIOCM_RTS is set, then need to keep it set when registering port. > > Copy mctrl to new port too. > > Signed-off-by: Giulio B

[PATCH 6/8] serial: 8250: Copy mctrl when register port.

2018-06-01 Thread Giulio Benetti
RS485 can modify mctrl on startup, especially when RTS_AFTER_SEND is on TIOCM_RTS is set, then need to keep it set when registering port. Copy mctrl to new port too. Signed-off-by: Giulio Benetti --- drivers/tty/serial/8250/8250_core.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers