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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 05. 10. 21, 15:30, Andy Shevchenko wrote:
From: Aman Kumar <aman.kumar@xxxxxxxxx>

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@xxxxxxxxxx>

Signed-off-by: Aman Kumar <aman.kumar@xxxxxxxxx>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx>
---
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



[Index of Archives]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux PPP]     [Linux FS]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Linmodem]     [Device Mapper]     [Linux Kernel for ARM]

  Powered by Linux