diff options
Diffstat (limited to 'drivers/tty/serial/imx.c')
-rw-r--r-- | drivers/tty/serial/imx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/tty/serial/imx.c b/drivers/tty/serial/imx.c index 552fd050f2bb..91f3a1a5cb7f 100644 --- a/drivers/tty/serial/imx.c +++ b/drivers/tty/serial/imx.c | |||
@@ -2262,7 +2262,7 @@ static int imx_uart_probe(struct platform_device *pdev) | |||
2262 | uart_get_rs485_mode(&pdev->dev, &sport->port.rs485); | 2262 | uart_get_rs485_mode(&pdev->dev, &sport->port.rs485); |
2263 | 2263 | ||
2264 | if (sport->port.rs485.flags & SER_RS485_ENABLED && | 2264 | if (sport->port.rs485.flags & SER_RS485_ENABLED && |
2265 | (!sport->have_rtscts || !sport->have_rtsgpio)) | 2265 | (!sport->have_rtscts && !sport->have_rtsgpio)) |
2266 | dev_err(&pdev->dev, "no RTS control, disabling rs485\n"); | 2266 | dev_err(&pdev->dev, "no RTS control, disabling rs485\n"); |
2267 | 2267 | ||
2268 | imx_uart_rs485_config(&sport->port, &sport->port.rs485); | 2268 | imx_uart_rs485_config(&sport->port, &sport->port.rs485); |