Revert "serial: 8250_exar: Set missing rs485_supported flag"

This reverts commit 00f09825e1 which is
commit 0c2a5f471ce58bca8f8ab5fcb911aff91eaaa5eb upstream.

It breaks the Android kernel abi and can be brought back in the future
in an abi-safe way if it is really needed.

Bug: 161946584
Change-Id: I8753cedb8cc8783030a376a32a28137267949144
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
This commit is contained in:
Greg Kroah-Hartman 2024-04-16 09:35:48 +00:00
parent 8755d58540
commit e18733695d

View File

@ -425,7 +425,7 @@ static int generic_rs485_config(struct uart_port *port,
}
static const struct serial_rs485 generic_rs485_supported = {
.flags = SER_RS485_ENABLED | SER_RS485_RTS_ON_SEND,
.flags = SER_RS485_ENABLED,
};
static const struct exar8250_platform exar8250_default_platform = {
@ -468,8 +468,7 @@ static int iot2040_rs485_config(struct uart_port *port,
}
static const struct serial_rs485 iot2040_rs485_supported = {
.flags = SER_RS485_ENABLED | SER_RS485_RTS_ON_SEND |
SER_RS485_RX_DURING_TX | SER_RS485_TERMINATE_BUS,
.flags = SER_RS485_ENABLED | SER_RS485_RX_DURING_TX | SER_RS485_TERMINATE_BUS,
};
static const struct property_entry iot2040_gpio_properties[] = {