diff mbox series

[v1,3/3] serial: sprd: Don't count XON/XOFF in the statistics

Message ID 20240403144722.860258-4-andriy.shevchenko@linux.intel.com
State New
Headers show
Series [v1,1/3] serial: core: Don't count XON/XOFF in the statistics | expand

Commit Message

Andy Shevchenko April 3, 2024, 2:46 p.m. UTC
Don't count XON/XOFF in the statistics in sprd_start_tx_dma().
It will make it in align with other serial drivers.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
---
 drivers/tty/serial/sprd_serial.c | 1 -
 1 file changed, 1 deletion(-)
diff mbox series

Patch

diff --git a/drivers/tty/serial/sprd_serial.c b/drivers/tty/serial/sprd_serial.c
index 15f14fa593da..3554b9e7678f 100644
--- a/drivers/tty/serial/sprd_serial.c
+++ b/drivers/tty/serial/sprd_serial.c
@@ -323,7 +323,6 @@  static void sprd_start_tx_dma(struct uart_port *port)
 
 	if (port->x_char) {
 		serial_out(port, SPRD_TXD, port->x_char);
-		port->icount.tx++;
 		port->x_char = 0;
 		return;
 	}