From 2cb3315107b5b3312b0f434efdb3ad354274e2a5 Mon Sep 17 00:00:00 2001 From: Aman Kumar Date: Tue, 5 Oct 2021 16:30:26 +0300 Subject: [PATCH] serial: 8250_lpss: Enable PSE UART Auto Flow Control Add a call to the custom ->set_termios() which has implementation about changing the state of RTS and CTS. Reviewed-by: Jiri Slaby Signed-off-by: Aman Kumar Signed-off-by: Andy Shevchenko Link: https://lore.kernel.org/r/20211005133026.21488-2-andriy.shevchenko@linux.intel.com Signed-off-by: Greg Kroah-Hartman --- drivers/tty/serial/8250/8250_lpss.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/tty/serial/8250/8250_lpss.c b/drivers/tty/serial/8250/8250_lpss.c index 398d2c4a40e3a..d3bafec7619da 100644 --- a/drivers/tty/serial/8250/8250_lpss.c +++ b/drivers/tty/serial/8250/8250_lpss.c @@ -164,6 +164,9 @@ static int ehl_serial_setup(struct lpss8250 *lpss, struct uart_port *port) * matching with the registered General Purpose DMA controllers. */ up->dma = dma; + + port->set_termios = dw8250_do_set_termios; + return 0; } -- 2.30.2