Thread (3 messages) 3 messages, 2 authors, 2021-10-06

Re: [PATCH v2 2/2] serial: 8250_lpss: Enable PSE UART Auto Flow Control

From: Jiri Slaby <jirislaby@kernel.org>
Date: 2021-10-06 04:46:19
Also in: lkml

On 05. 10. 21, 15:30, Andy Shevchenko wrote:
From: Aman Kumar <redacted>

Add a call to the custom ->set_termios() which has implementation about
changing the state of RTS and CTS.
Worth noting that:
   config SERIAL_8250_LPSS
already does:
         select SERIAL_8250_DWLIB

Reviewed-by: Jiri Slaby <jirislaby@kernel.org>
quoted hunk ↗ jump to hunk
Signed-off-by: Aman Kumar <redacted>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
---
v2: no changes
  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 398d2c4a40e3..d3bafec7619d 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;
  }
  

-- 
js
suse labs
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help