Revert "serial: fsl_lpuart: Fill in rs485_supported"
This reverts commit bd19013935 which is
commit a07481f448b635d7cebb92d5940f5bea5c4395a26 upstream.
It is needed as part of a revert in order to preserve the Android abi.
If this needs to be brought back in the future, it can be done so in an
ABI-safe way.
Bug: 161946584
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Change-Id: I8de27f1c4e58b3f20b08146eb12f3a5f8b2ab344
This commit is contained in:
@@ -2618,11 +2618,6 @@ static struct uart_driver lpuart_reg = {
|
||||
.cons = LPUART_CONSOLE,
|
||||
};
|
||||
|
||||
static const struct serial_rs485 lpuart_rs485_supported = {
|
||||
.flags = SER_RS485_ENABLED | SER_RS485_RTS_ON_SEND | SER_RS485_RTS_AFTER_SEND,
|
||||
/* delay_rts_* and RX_DURING_TX are not supported */
|
||||
};
|
||||
|
||||
static int lpuart_global_reset(struct lpuart_port *sport)
|
||||
{
|
||||
struct uart_port *port = &sport->port;
|
||||
@@ -2710,7 +2705,6 @@ static int lpuart_probe(struct platform_device *pdev)
|
||||
sport->port.rs485_config = lpuart32_config_rs485;
|
||||
else
|
||||
sport->port.rs485_config = lpuart_config_rs485;
|
||||
sport->port.rs485_supported = &lpuart_rs485_supported;
|
||||
|
||||
sport->ipg_clk = devm_clk_get(&pdev->dev, "ipg");
|
||||
if (IS_ERR(sport->ipg_clk)) {
|
||||
|
||||
Reference in New Issue
Block a user