diff options
author | Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> | 2022-06-06 13:04:29 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-06-10 13:49:57 +0200 |
commit | ad98c78bd011ca76d1667aa3cb53562dfb29725a (patch) | |
tree | 12a8de93f17015b6d5cff21b8c24c4fe76578c37 /drivers | |
parent | 55e18c6b6d426818032d5e0f9d88d87fd2a8ae30 (diff) | |
download | linux-stable-ad98c78bd011ca76d1667aa3cb53562dfb29725a.tar.gz linux-stable-ad98c78bd011ca76d1667aa3cb53562dfb29725a.tar.bz2 linux-stable-ad98c78bd011ca76d1667aa3cb53562dfb29725a.zip |
serial: max310x: Remove serial_rs485 sanitization
Serial core handles serial_rs485 sanitization.
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Link: https://lore.kernel.org/r/20220606100433.13793-33-ilpo.jarvinen@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/tty/serial/max310x.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/tty/serial/max310x.c b/drivers/tty/serial/max310x.c index 7b0c1351d75e..4915a786e315 100644 --- a/drivers/tty/serial/max310x.c +++ b/drivers/tty/serial/max310x.c @@ -1045,8 +1045,6 @@ static int max310x_rs485_config(struct uart_port *port, (rs485->delay_rts_after_send > 0x0f)) return -ERANGE; - rs485->flags &= SER_RS485_RTS_ON_SEND | SER_RS485_RX_DURING_TX | - SER_RS485_ENABLED; port->rs485 = *rs485; schedule_work(&one->rs_work); |