From: Aman Kumar Date: Tue, 5 Oct 2021 13:30:26 +0000 (+0300) Subject: serial: 8250_lpss: Enable PSE UART Auto Flow Control X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=2cb3315107b5b3312b0f434efdb3ad354274e2a5;p=linux.git 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 --- 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; }